secure_learning.exceptions

Defines custom exceptions for the tno.mpc.mpyc.secure_learning library.

Exceptions

BaseSecureLearnError

Base class for custom exceptions in the tno.mpc.mpyc.secure_learning library

MissingFunctionError

The function has not been initialized.

SecureLearnTypeError

Received object of unexpected type.

SecureLearnUninitializedSolverError

Solver has not been fully initialized.

SecureLearnValueError

Received object with unexpected value.

UnknownPenaltyError

Penalty is not recognized.

Module Contents

exception secure_learning.exceptions.BaseSecureLearnError[source]

Base class for custom exceptions in the tno.mpc.mpyc.secure_learning library

exception secure_learning.exceptions.MissingFunctionError[source]

The function has not been initialized.

exception secure_learning.exceptions.SecureLearnTypeError[source]

Received object of unexpected type.

exception secure_learning.exceptions.SecureLearnUninitializedSolverError[source]

Solver has not been fully initialized.

exception secure_learning.exceptions.SecureLearnValueError[source]

Received object with unexpected value.

exception secure_learning.exceptions.UnknownPenaltyError[source]

Penalty is not recognized.