Error Exceptions#

enum interactions.ext.error.ErrorType(value)[source]#

An enumerable object representing the type of error responses raised.

Variables:
  • INCORRECT_ALPHANUMERIC_VERSION (str) – You cannot have more than one alphanumeric identifier, or identifier with a missing value.

  • MISSING_NUMERIC_VERSION (str) – You cannot have a missing numerical value.

  • TOO_MANY_AUTHORS (str) – A version can only have one main author. The rest of the authors must be co-authors.

  • UNKNOWN_SERVICE (str) – The service specified does not exist.

Member Type:

str

Valid values are as follows:

INCORRECT_ALPHANUMERIC_VERSION = <ErrorType.INCORRECT_ALPHANUMERIC_VERSION: 'You cannot have more than one alphanumeric identifier, or identifier with a missing value.'>#
MISSING_NUMERIC_VERSION = <ErrorType.MISSING_NUMERIC_VERSION: 'You cannot have a missing numerical value.'>#
TOO_MANY_AUTHORS = <ErrorType.TOO_MANY_AUTHORS: 'A version can only have one main author. The rest of the authors must be co-authors.'>#
UNKNOWN_SERVICE = <ErrorType.UNKNOWN_SERVICE: 'The service specified does not exist.'>#
exception interactions.ext.error.IncorrectAlphanumeric[source]#

An exception raised whenever a Version object has an incorrect alphanumeric formatting.

exception interactions.ext.error.MissingNumeric[source]#

An exception raised whenever a Version object has an incorrect numerical formatting.

exception interactions.ext.error.TooManyAuthors[source]#

An exception raised whenever a VersionAuthor object have too many “main” authors.

exception interactions.ext.error.UnknownService[source]#

An exception raised whenever a Base object cannot find a service.