nvflare.apis.fl_exception module

exception FLCommunicationError(exception)[source]

Bases: Exception

Base class for fed_learn communication exceptions.

Init the FLCommunicationError.

Parameters

exception – grpc.RpcError when trying to register gprc channel

exception WorkflowError(*args: object)[source]

Bases: Exception

FL Workflow error to indicate not to continue workflow execution.

Init the WorkflowError.

Parameters

*args – variable number of arguments for Exception; usually is error message string