idmtools.core.exceptions module

exception idmtools.core.exceptions.ExperimentNotFound(experiment_id: uuid.UUID, platform: TPlatform = None)

Bases: Exception

exception idmtools.core.exceptions.UnknownItemException(err: str)

Bases: Exception

exception idmtools.core.exceptions.NoPlatformException

Bases: Exception

Cannot find a platform matching the one requested by user

exception idmtools.core.exceptions.TopLevelItem

Bases: Exception

Thrown when a parent of a top-level item is requested by the platform

exception idmtools.core.exceptions.UnsupportedPlatformType

Bases: Exception

Occurs when an item is not supported by a platform but is requested

exception idmtools.core.exceptions.NoTaskFound

Bases: Exception

Bases: Exception

idmtools.core.exceptions.idmtools_error_handler(exctype, value: Exception, tb)

Global exception handler. This will write our errors in a nice format

Parameters
  • exctype – Type of exception

  • value – Value of the exception

  • tb – Traceback

Returns

None