statuscode

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL