Variable: ExitCode
const
ExitCode:object
Enumeration of all possible exit codes returned by an application.
Type declaration
CommandLoadError
readonly
CommandLoadError:-2
=-2
Failed to load command module.
CommandRunError
readonly
CommandRunError:1
=1
Command module unexpectedly threw an error.
ContextLoadError
readonly
ContextLoadError:-3
=-3
An error was thrown while loading the context for a command run.
InternalError
readonly
InternalError:-1
=-1
An unexpected error was thrown by or not caught by this library.
InvalidArgument
readonly
InvalidArgument:-4
=-4
Unable to parse the specified arguments.
Success
readonly
Success:0
=0
Command executed successfully.
UnknownCommand
readonly
UnknownCommand:-5
=-5
Unable to find a command in the application with the given command line arguments.