yubihsm.exceptions
Exceptions thrown by this library.
Exceptions
Baseclass for YubiHSM errors. |
|
The connection to the YubiHSM failed. |
|
The YubiHSM returned an error code. |
|
The request was not able to be sent to the YubiHSM. |
|
The YubiHSM returned an unexpected response. |
|
Authentication failed. |
Module Contents
- exception yubihsm.exceptions.YubiHsmConnectionError[source]
Bases:
YubiHsmError
The connection to the YubiHSM failed.
- exception yubihsm.exceptions.YubiHsmDeviceError(code)[source]
Bases:
YubiHsmError
The YubiHSM returned an error code.
- Parameters:
code (int) – The device error code.
- code
- exception yubihsm.exceptions.YubiHsmInvalidRequestError[source]
Bases:
YubiHsmError
The request was not able to be sent to the YubiHSM.
- exception yubihsm.exceptions.YubiHsmInvalidResponseError[source]
Bases:
YubiHsmError
The YubiHSM returned an unexpected response.
- exception yubihsm.exceptions.YubiHsmAuthenticationError[source]
Bases:
YubiHsmError
Authentication failed.