Documentation
¶
Overview ¶
Package errcodes renders the error-code taxonomy (taxonomy/error-codes.yaml) into the Go ErrorCode constants and lookups and the Python ErrorCode enum and maps.
Index ¶
Constants ¶
View Source
const ( // SourcePath is the taxonomy every output derives from. SourcePath = "taxonomy/error-codes.yaml" // GoPath is the rendered Go file. GoPath = "go/core/errors/codes.go" // PythonPath is the rendered Python module. PythonPath = "python/techai_webutils/src/techai_webutils/core/errors/codes.py" )
The taxonomy source and the two outputs, repository-relative.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
errcodes
command
Command errcodes renders the error-code taxonomy into its Go and Python outputs: `go generate ./go/core/errors/...` runs it from that package with -root at the repository root.
|
Command errcodes renders the error-code taxonomy into its Go and Python outputs: `go generate ./go/core/errors/...` runs it from that package with -root at the repository root. |
Click to show internal directories.
Click to hide internal directories.