Documentation ¶
Overview ¶
package statuscode manages exit codes for programs.
See `man sysexits || grep "#define EX" /usr/include/sysexits.h` and https://tldp.org/LDP/abs/html/exitcodes.html
Index ¶
Constants ¶
View Source
const ( // Ok means everything is fine. Ok = 0 // RenderHelp provides answers to life, the universe and everything; also, renders help. RenderHelp = 42 // Usage means bad arguments were provided by the user. Usage = 64 // ProgrammerError means the developer made a mistake. ProgrammerError = 70 // ConfigError means configuration files or the environment is misconfigured. ConfigError = 78 // NotFound means a sub-command not was found. NotFound = 127 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.