FiscusExceptions (API Reference)
The Fiscus SDK provides several exception classes that are used to handle different types of errors that can occur during the execution of operations. These exception classes inherit from a base exception class and are designed to represent specific error conditions such as authentication, authorization, and validation failures.
Exception Classes
FiscusError
FiscusError
The base exception class for all Fiscus SDK exceptions. All other Fiscus-specific exceptions inherit from this class.
Parameters:
- Inherits all parameters from the built-in
Exception
class.
Returns:
- None.
FiscusAuthenticationError
FiscusAuthenticationError
This exception is raised when there is a failure during the authentication process for a connector or service.
Parameters:
- Inherits all parameters from the
FiscusError
class.
Returns:
- None.
FiscusAuthorizationError
FiscusAuthorizationError
This exception is raised when a user or service does not have the required permissions or authorization to perform an operation.
Parameters:
- Inherits all parameters from the
FiscusError
class.
Returns:
- None.
FiscusValidationError
FiscusValidationError
This exception is raised when there is a failure during the validation of input parameters for an operation.
Parameters:
- Inherits all parameters from the
FiscusError
class.
Returns:
- None.