exceptions

ParityOS specific exceptions.

exception parityos.utils.exceptions.ParityOSException

Bases: Exception

General exception thrown by ParityOS.

exception parityos.utils.exceptions.ParityOSTypeError

Bases: TypeError

TypeError related to ParityOS types.

exception parityos.utils.exceptions.ParityOSUniquenessError

Bases: ParityOSException

Error related to duplicate qubits in Operators.

exception parityos.utils.exceptions.ParityOSNotSupportedError

Bases: ParityOSException

Error related to features that are not supported.

exception parityos.utils.exceptions.ParityOSAuthError(*args: Any, **kwargs: Any)

Bases: RequestException

Error for failed logins to the ParityAPI server.

exception parityos.utils.exceptions.ParityOSInvalidCredentialsError(*args: Any, **kwargs: Any)

Bases: RequestException

Error for failed logins to the ParityAPI server.

exception parityos.utils.exceptions.ParityOSRequestError(*args: Any, **kwargs: Any)

Bases: RequestException

Error for failed requests to the ParityAPI server.

exception parityos.utils.exceptions.ParityOSJobError

Bases: ParityOSException

Error in a job on the ParityOS cloud server.

exception parityos.utils.exceptions.ParityOSTimeoutException

Bases: ParityOSException

Error from time-outs waiting for a response from the ParityOS cloud server.