nvflare.apis.fl_exception module

exception FLCommunicationError(message, exception=None)[source]

Bases: Exception

Base class for fed_learn communication exceptions.

Init the FLCommunicationError.

Parameters:

exception – grpc.RpcError when trying to register gprc channel

exception UnsafeComponentError[source]

Bases: Exception

Raised when a component in the configuration is detected to be unsafe

exception UnsafeJobError[source]

Bases: Exception

Raised when a job is detected to be unsafe