ErrorCode

class error_code.ErrorCode

Bases: enum.IntEnum

The error codes for this program.

OK = 0
UNKNOWN_COMMAND = 1
MISSING_ARGUMENT = 2
TOO_FEW_ARGUMENTS = 3
FILE_ERROR = 4
COMMAND_FAILED = 5
SMTP_ERROR = 6
UNKNOWN_ERROR = 666