Exception Classes¶
python-fedex implements various custom exceptions.
Fedex Base Service Exception¶
-
class
fedex.base_service.
FedexBaseServiceException
(error_code, value)[source]¶ Bases:
exceptions.Exception
Exception: Serves as the base exception that other service-related exception objects are sub-classed from.
Fedex Failure¶
-
class
fedex.base_service.
FedexFailure
(error_code, value)[source]¶ Bases:
fedex.base_service.FedexBaseServiceException
Exception: The request could not be handled at this time. This is generally a server problem.
Fedex Error¶
-
class
fedex.base_service.
FedexError
(error_code, value)[source]¶ Bases:
fedex.base_service.FedexBaseServiceException
Exception: These are generally problems with the client-provided data.