mapteksdk.workflows.errors module
Errors raised in the workflows package.
- exception InvalidConnectorNameError
Bases:
ValueError
Error raised when a connector name is invalid.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception DuplicateConnectorError
Bases:
Exception
Error raised when a duplicate connector is declared.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MalformedInputError
Bases:
Exception
Error raised when script inputs cannot be read.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception InputDimensionMismatchError(name, expected, actual)
Bases:
Exception
Error raised when an input’s dimensions are incorrect.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception InputTypeError(name, expected_type_name, actual_type_name)
Bases:
Exception
Error raised when an input’s type is incorrect.
This is raised if an input receives a value which does not match the type of the declared input port.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MissingInputError(missing_inputs)
Bases:
Exception
Error raised when one or more inputs are missing.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception UnknownInputError(name)
Bases:
Exception
Error raised when an unknown input is encountered.
This will not be raised if the class is configured to allow unknown arguments.
- Parameters:
name (str)
- Return type:
None
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception UnsupportedInputTypeError(unsupported_type)
Bases:
Exception
Error raised when an input’s type is not supported.
- Parameters:
unsupported_type (str)
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception InputFormatNotSupportedError(actual_version, maximum_supported, minimum_supported)
Bases:
Exception
Error raised when the input cannot be read because it is too new or old.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception InputCannotBeNoneError(name)
Bases:
Exception
Error raised if a non-nullable input is null.
- Parameters:
name (str)
- Return type:
None
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.