package
1.0.1
Repository: https://github.com/datadog/documentor.git
Documentation: pkg.go.dev

# Functions

New creates a new Error with the given exit code and error.

# Constants

ExitAPIError is the exit code for errors related to API requests.
ExitError is the exit code for a generic error.
ExitInvalidInput is the exit code for invalid input errors.
ExitIO is the exit code for an I/O error.
ExitNotFound is the exit code for a file not found error.
ExitOK is the exit code for a successful operation.
ExitPermission is the exit code for an I/O permission denied error.
ExitTimeout is the exit code for timeout errors.
ExitUnauthorized is the exit code for unauthorized requests to the OpenAI API.
ExitUsage is the exit code for an incorrect usage of a command.

# Structs

Error is an error with an exit code.