exceptions

A module containing different exceptions which could be useful.

Summary

Exceptions:

BaseEnumFormatError

Base class for enum exceptions if the given enum is not valid

PQException

Base class for exceptions in this package.

PQFileNotFoundError

Exception raised for errors related to the AtomicSystem class

PQIndexError

Exception raised for errors related to the AtomicSystem class

PQKeyError

Exception raised for errors related to the AtomicSystem class

PQNotImplementedError

Exception raised for errors related to the AtomicSystem class

PQTypeError

Exception raised for errors related to the AtomicSystem class

PQValueError

Exception raised for errors related to the AtomicSystem class

PQWarning

Base class for warnings in this package.

Reference

exception BaseEnumFormatError(
self,
value: object,
enum: object,
)[source]

Bases: PQException

Base class for enum exceptions if the given enum is not valid

Parameters:
  • value (object) – The value that is not valid.

  • enum (object) – The enum that is not valid.

exception PQException[source]

Bases: Exception

Base class for exceptions in this package.

exception PQFileNotFoundError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQIndexError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQKeyError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQNotImplementedError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQTypeError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQValueError[source]

Bases: PQException

Exception raised for errors related to the AtomicSystem class

exception PQWarning[source]

Bases: Warning

Base class for warnings in this package.