Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitCodeFor ¶
exitCodeFor maps an error to its process exit code. Errors carrying an explicit ExitCode() (the documented gowdk audit contract) use it; every other error is a generic failure (1).
func Main ¶
func Main()
Main runs the gowdk command-line program and exits with the documented code.
Types ¶
type OperationError ¶
type OperationError struct {
Summary string
Diagnostics []devOverlayDiagnostic
Cause error
Code int
}
func (*OperationError) Error ¶
func (err *OperationError) Error() string
func (*OperationError) ExitCode ¶
func (err *OperationError) ExitCode() int
func (*OperationError) Unwrap ¶
func (err *OperationError) Unwrap() error
Source Files
¶
- add.go
- artifact_topology.go
- audit.go
- audit_diff.go
- audit_run.go
- build.go
- build_audit.go
- build_timings.go
- clean.go
- config_helper.go
- contracts.go
- deploy_recipes.go
- dev.go
- dev_listener_unix.go
- dev_loop.go
- dev_overlay.go
- dev_proxy_response.go
- docker.go
- doctor.go
- env.go
- explain.go
- fix.go
- flags.go
- generate.go
- go_bindings_report.go
- init.go
- inspect.go
- lang.go
- lsp.go
- main.go
- operation_error.go
- playground.go
- preview.go
- project_inputs.go
- route_report.go
- serve.go
- test.go
Click to show internal directories.
Click to hide internal directories.