Skip to content

fl_server_core.exceptions

Classes:

Name Description
TorchDeserializationException

Exception raised for errors in the deserialization process of PyTorch objects.

Classes

TorchDeserializationException

Bases: Exception


              flowchart TD
              fl_server_core.exceptions.TorchDeserializationException[TorchDeserializationException]

              

              click fl_server_core.exceptions.TorchDeserializationException href "" "fl_server_core.exceptions.TorchDeserializationException"
            

Exception raised for errors in the deserialization process of PyTorch objects.

This is a custom exception class that should be raised when there is an error during the deserialization of PyTorch objects.

Source code in fl_server_core/exceptions.py
class TorchDeserializationException(Exception):
    """
    Exception raised for errors in the deserialization process of PyTorch objects.

    This is a custom exception class that should be raised when there is an error during
    the deserialization of PyTorch objects.
    """
    pass