ExitCode class

Exit code constants.

Source.

Constructors

ExitCode.unknown(int code)
const

Properties

code int
Exit code value.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

cantCreate → const ExitCode
A (user specified) output file cannot be created.
config → const ExitCode
Something was found in an unconfigured or misconfigured state.
data → const ExitCode
Input data was used incorrectly.
ioError → const ExitCode
An error occurred doing I/O on some file.
noHost → const ExitCode
Host specified did not exist.
noInput → const ExitCode
An input file (not a system file) did not exist or was not readable.
noPerm → const ExitCode
You did not have sufficient permissions to perform the operation.
noUser → const ExitCode
User specified did not exist.
osError → const ExitCode
An operating system error has been detected.
osFile → const ExitCode
Some system file (e.g. /etc/passwd) does not exist or could not be read.
software → const ExitCode
An internal software error has been detected.
success → const ExitCode
Command completed successfully.
tempFail → const ExitCode
Temporary failure, indicating something is not really an error.
unavailable → const ExitCode
A service is unavailable.
usage → const ExitCode
Command was used incorrectly.