Documentation
¶
Overview ¶
Package exitcode defines the stable exit-code contract for the tkn-act CLI and provides a small error-wrapper that lets command implementations associate an error with a specific code without coupling them to the main package.
The codes are part of tkn-act's public contract for AI agents and shell scripts; do not renumber them. New categories should append rather than reuse.
Index ¶
Constants ¶
View Source
const ( OK = 0 // success Generic = 1 // unexpected / uncategorized error Usage = 2 // bad flags, contradictory inputs, missing required arg Env = 3 // environment is missing a dependency (Docker, k3d, ...) Validate = 4 // Tekton YAML rejected before run Pipeline = 5 // a Task or finally task failed during run Timeout = 6 // a Task or finally task ended due to its declared timeout Cancelled = 130 // SIGINT / SIGTERM )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.