Exceptions

exception gemma.NullNameError[source]

Bearing cannot be found on object.

exception gemma.NonNavigableError[source]

Target object cannot be traversed

exception gemma.SuppressedErrors(*args)[source]

Errors occurred while Cartographer mapped data

Attributes:
  • errors ( List[BaseException] ): list of errors which occurred.

  • chart_partial ( List[Tuple["Course", Any]] ): If raised from Surveyor.chart() raising a NonNavigableError for some elements, a partial chart of the successfully traversed data will be stored here.

property types

Types of errors in SuppressedErrors.errors to be used for isinstance() checks.

Return type

Tuple[Union[Type[NonNavigableError], Type[NullNameError]], …]

Returns

error types