belvo.exceptions

 1from typing import Any
 2
 3
 4class BelvoAPIException(Exception):
 5    ...
 6
 7
 8class RequestError(BelvoAPIException):
 9    def __init__(self, status_code: int, detail: Any):
10        self.status_code = status_code  # HTTP Code
11        self.detail = detail  # String with a brief description of the error. For detailed information, check our Error documentation on our DevPortal.
class BelvoAPIException(builtins.Exception):
5class BelvoAPIException(Exception):
6    ...

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class RequestError(BelvoAPIException):
 9class RequestError(BelvoAPIException):
10    def __init__(self, status_code: int, detail: Any):
11        self.status_code = status_code  # HTTP Code
12        self.detail = detail  # String with a brief description of the error. For detailed information, check our Error documentation on our DevPortal.

Common base class for all non-exit exceptions.

RequestError(status_code: int, detail: Any)
10    def __init__(self, status_code: int, detail: Any):
11        self.status_code = status_code  # HTTP Code
12        self.detail = detail  # String with a brief description of the error. For detailed information, check our Error documentation on our DevPortal.
status_code
detail
Inherited Members
builtins.BaseException
with_traceback
add_note
args