Package convex.cli
Class ExitCodes
java.lang.Object
convex.cli.ExitCodes
Exit codes
See sysexits.h from FreeBSD for guides
TODO: may need to make partially platform-specific?
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Something was not configured properlystatic final int
Error in input data, e.g. badly formattedstatic final int
General catch-all error, probably IOstatic final int
Interrupt with graceful shutdown fromn interrupt Posix standard exit code 128 + 2 (SIGINT)static final int
IO Errorstatic final int
No host exists (probably not a peer?)static final int
No input file / not readablestatic final int
Lack of permissions to complete an application operationstatic final int
No user exists (probably a bad account?)static final int
Fatal uncaught software error, should be reported as bugstatic final int
Exit code for success (0)static final int
Temporary failure, e.g. a timeoutstatic final int
Usage error (64 as per ) -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUCCESS
public static final int SUCCESSExit code for success (0)- See Also:
-
ERROR
public static final int ERRORGeneral catch-all error, probably IO- See Also:
-
USAGE
public static final int USAGEUsage error (64 as per )- See Also:
-
DATAERR
public static final int DATAERRError in input data, e.g. badly formatted- See Also:
-
NOINPUT
public static final int NOINPUTNo input file / not readable- See Also:
-
NOUSER
public static final int NOUSERNo user exists (probably a bad account?)- See Also:
-
NOHOST
public static final int NOHOSTNo host exists (probably not a peer?)- See Also:
-
SOFTWARE
public static final int SOFTWAREFatal uncaught software error, should be reported as bug- See Also:
-
IOERR
public static final int IOERRIO Error- See Also:
-
TEMPFAIL
public static final int TEMPFAILTemporary failure, e.g. a timeout- See Also:
-
NOPERM
public static final int NOPERMLack of permissions to complete an application operation- See Also:
-
CONFIG
public static final int CONFIGSomething was not configured properly- See Also:
-
INTERRUPT
public static final int INTERRUPTInterrupt with graceful shutdown fromn interrupt Posix standard exit code 128 + 2 (SIGINT)- See Also:
-
-
Constructor Details
-
ExitCodes
public ExitCodes()
-
-
Method Details
-
getExitCode
-