secure_learning.exceptions module¶
Defines custom exceptions for the tno.mpc.mpyc.secure_learning library.
- exception secure_learning.exceptions.BaseSecureLearnError[source]¶
Bases:
ExceptionBase class for custom exceptions in the tno.mpc.mpyc.secure_learning library
- exception secure_learning.exceptions.MissingFunctionError[source]¶
Bases:
BaseSecureLearnErrorThe function has not been initialized.
- exception secure_learning.exceptions.SecureLearnTypeError[source]¶
Bases:
BaseSecureLearnError,TypeErrorReceived object of unexpected type.
- exception secure_learning.exceptions.SecureLearnUninitializedSolverError[source]¶
Bases:
BaseSecureLearnErrorSolver has not been fully initialized.
- exception secure_learning.exceptions.SecureLearnValueError[source]¶
Bases:
BaseSecureLearnError,ValueErrorReceived object with unexpected value.
- exception secure_learning.exceptions.UnknownPenaltyError[source]¶
Bases:
BaseSecureLearnErrorPenalty is not recognized.