Module fl_server_core.exceptions¶
View Source
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0
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
Classes¶
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.
View Source
Ancestors (in MRO)¶
- builtins.Exception
- builtins.BaseException
Class variables¶
Methods¶
with_traceback¶
Exception.with_traceback(tb) --
set self.traceback to tb and return self.