Skip to main content

exceptions

Custom exceptions for the federated package.

Classes

AggregatorError

class AggregatorError(*args, **kwargs):

Error related to Aggregator classes.

Ancestors

  • BitfountError
  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException

AlgorithmError

class AlgorithmError(*args, **kwargs):

Error raised during a worker-side algorithm run.

Ancestors

BitfountTaskStartError

class BitfountTaskStartError(*args, **kwargs):

Raised when an issue occurs whilst trying to start a task with pods.

Ancestors

  • BitfountError
  • builtins.RuntimeError
  • builtins.Exception
  • builtins.BaseException

DPNotAppliedError

class DPNotAppliedError(*args, **kwargs):

Error if DP could not be applied to a model.

Ancestors

DPParameterError

class DPParameterError(*args, **kwargs):

Error if any of given dp params are not allowed.

Ancestors

DecryptError

class DecryptError(*args, **kwargs):

Error when attempting to decrypt.

Ancestors

EncryptionError

class EncryptionError(*args, **kwargs):

Error related to encryption processes.

Ancestors

MessageHandlerDispatchError

class MessageHandlerDispatchError(*args, **kwargs):

Error raised when there is a problem dispatching messages to handlers.

Ancestors

MessageHandlerNotFoundError

class MessageHandlerNotFoundError(*args, **kwargs):

Error raised when no registered message handler can be found.

Ancestors

MessageRetrievalError

class MessageRetrievalError(*args, **kwargs):

Raised when an error occurs whilst retrieving a message from message service.

Ancestors

  • BitfountError
  • builtins.RuntimeError
  • builtins.Exception
  • builtins.BaseException

MessageTypeSpecificHandlerNotFoundError

class MessageTypeSpecificHandlerNotFoundError(*args, **kwargs):

Error raised when no non-universal registered message handler can be found.

Ancestors

Variables

  • static universal_dispatches : list[Union[ConcurrentFuture, _PriorityHandler]]

NoNewDataError

class NoNewDataError(*args, **kwargs):

Error when run_on_new_data_only is True but no new records are found.

Ancestors

PodConnectFailedError

class PodConnectFailedError(*args, **kwargs):

The message service has not correctly connected the pod.

Ancestors

  • BitfountError
  • builtins.TypeError
  • builtins.Exception
  • builtins.BaseException

PodNameError

class PodNameError(*args, **kwargs):

Error related to given Pod name.

Ancestors

PodRegistrationError

class PodRegistrationError(*args, **kwargs):

Error related to registering a Pod with BitfountHub.

Ancestors

PodResponseError

class PodResponseError(*args, **kwargs):

Pod rejected or failed to respond to a task request.

Ancestors

PodSchemaMismatchError

class PodSchemaMismatchError(*args, **kwargs):

Error raised when a pod schema does not match the task schema.

Ancestors

PrivateSqlError

class PrivateSqlError(*args, **kwargs):

An exception for any issues relating to the PrivateSQL algorithm.

Ancestors

ProtocolError

class ProtocolError(*args, **kwargs):

Error raised during protocol run.

Ancestors

RSAKeyError

class RSAKeyError(*args, **kwargs):

Error related to RSA keys.

Ancestors

TaskAbortError

class TaskAbortError(*args, **kwargs):

Error raised when a TASK_ABORT is received from a pod.

Ancestors