Creates an ExitCode.
ExitCode
the value whose 8 least significant bits are used to construct an exit code within the valid range.