Module trase.tools.pcs.exceptions

Custom exceptions.

Classes

class AlreadyDataError (*args, **kwargs)

Conflicting data found in database.

Ancestors

class CommodityError (*args, **kwargs)

Issue with commodity.

Ancestors

class ComplexComError (*args, **kwargs)

Commodity tree too complex.

Ancestors

class DbError (*args, **kwargs)

Wrong database.

Ancestors

class DiffComError (*args, **kwargs)

Different commodities in supply chains.

Ancestors

class DiffVolError (*args, **kwargs)

Different volumes in subchains.

Ancestors

class EmbeddingValidationError (*args, **kwargs)

Issue with embedding

Ancestors

class FlowError (*args, **kwargs)

Issue with Flow object.

Ancestors

class ImpossibleError (*args, **kwargs)

Used to detect issues with cases not handled by if…else statements.

Ancestors

class LevelError (*args, **kwargs)

Error in node level.

Ancestors

class NetworkError (*args, **kwargs)

Issue with Network object.

Ancestors

class NoDataError (*args, **kwargs)

No data found in database.

Ancestors

class PcsException (*args, **kwargs)

Common base class for all non-exit exceptions.

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class RefLengthError (*args, **kwargs)

List of references has wrong length.

Ancestors

class TimeError (*args, **kwargs)

Issue with time format.

Ancestors

class VolError (*args, **kwargs)

Issue with volume.

Ancestors