exit_codes Module

Module Description

Uniform list of exit codes with values that may vary according to any prevailing standards for a given platform [1], [2].

General Exit Codes

utilia.os.exit_codes.SUCCESS()

Successful completion of process.

utilia.os.exit_codes.FAILURE()

Unsuccessful completion of process without error.

(Example: POSIX grep returns 1 when no lines are matched.)

utilia.os.exit_codes.ERROR()

Exiting process because of a general error.

(Example: POSIX grep returns 2 on error.)

utilia.os.exit_codes.INTERNAL_SOFTWARE_ERROR()

Exiting process because the software failed an internal consistency check or assertion, encountered an unimplemented virtual method, etc....