Exceptions¶
Instructions tries it’s best to provide human readable errors in all situations. This is a list of all exceptions that Instructions can throw.
-
exception
instructions.exceptions.InstructionsError(*args, **kwargs)¶ Base exception class for Instructions exceptions.
-
exception
instructions.exceptions.FilterImplementationError(reason)¶ Filter not implemented correctly.
-
exception
instructions.exceptions.FilterUsageError(reason)¶ Incorrect usage of Filter.
-
exception
instructions.exceptions.FilterTypeError¶ Provided filter should be of Filter type.
-
exception
instructions.exceptions.DataTypeInitializationError(cls, reason)¶ DataType class can’t be initialized.
-
exception
instructions.exceptions.CommandOptionError(option, message)¶ Command option error.
-
exception
instructions.exceptions.CommandOptionTypeError(option, type_)¶ Provided option doesn’t have the needed type.