mapteksdk.data.errors module

Generic errors raised by classes in this packages.

More specialised errors are placed in other modules.

exception ReadOnlyError(message=None)

Bases: Exception

Exception raised when operation fails due to being read-only

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception CannotSaveInReadOnlyModeError(message=None)

Bases: Exception

Error raised when attempting to save an object in read only mode.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception DegenerateTopologyError

Bases: Exception

Error raised when creating an object with degenerate topology.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception InvalidColourMapError

Bases: Exception

Error raised when creating an invalid colour map.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception RegistrationTypeNotSupportedError(unsupported_type)

Bases: Exception

Error raised when a type of raster registration is not supported.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception AlreadyAssociatedError

Bases: Exception

Error raised when a associating a Raster which is already associated.

The Raster may be associated with another object or be already associated with the same object.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NonOrphanRasterError

Bases: Exception

Error raised when associating a raster which is not an orphan.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ObjectNotSupportedError(unsupported_type)

Bases: Exception

Error raised when an object is not supported.

Parameters

unsupported_type (type) –

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.