# Functions
CheckErrorAndExit checks if there is an error, display it in the console and exit with a non-zero exit code.
Errorf creates a new error with the given message.
ErrorStack converts the given error to a string, including the stack trace if available.
ExitCode returns the exit code of a command.
ExtractFields extracts fields from err.
IsContextCanceled returns `true` if error has occurred by event `context.Canceled` which is not really an error.
Log logs a statement of the given error.
New makes an Error from the given value.
Recover is a method that tries to recover from panics, and if it succeeds, calls the given onPanic function with an error that explains the cause of the panic.
# Constants
The codes are returned by the application after completion.
The codes are returned by the application after completion.
# Type aliases
Fields contains key/value data.