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 intSomething was not configured properlystatic final intError in input data, e.g. badly formattedstatic final intGeneral catch-all error, probably IOstatic final intIO Errorstatic final intNo host exists (probably not a peer?)static final intNo input file / not readablestatic final intLack of permissions to complete an application operationstatic final intNo user exists (probably a bad account?)static final intFatal uncaught software error, should be reported as bugstatic final intExit code for success (0)static final intTemporary failure, e.g. a timeoutstatic final intUsage 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:
-
-
Constructor Details
-
ExitCodes
public ExitCodes()
-
-
Method Details
-
getExitCode
-