xain_fl.tools package¶
Submodules¶
xain_fl.tools.exceptions module¶
XAIN FL exceptions
-
exception
xain_fl.tools.exceptions.
DuplicatedUpdateError
¶ Bases:
Exception
Exception raised when the same participant tries to submit multiple updates to the
xain_fl.coordinator.coordinator.Coordinator
in the sameRound
-
exception
xain_fl.tools.exceptions.
InvalidRequestError
¶ Bases:
Exception
Exception raised when the Coordinator receives and invalid request from a participant.
This can happen if the participant sends a request that is not allowed in a give Coordinator state. For instance the Coordinator will only accept StartTrainingRound requests during a ROUND.
-
exception
xain_fl.tools.exceptions.
UnknownParticipantError
¶ Bases:
Exception
Exception raised when a participant that is unknown to the
xain_fl.coordinator.coordinator.Coordinator
makes a request.Typically this means that a participant tries to make a request before it has successfully rendezvous with the
xain_fl.coordinator.coordinator.Coordinator
.