web3data.exceptions¶
This module contains API-related exceptions.
-
exception
web3data.exceptions.
APIError
[source]¶ Bases:
Exception
An exception denoting generic API errors.
This error is raised when the API returns invalid response data, like invalid JSON.
-
exception
web3data.exceptions.
EmptyResponseError
[source]¶ Bases:
web3data.exceptions.APIError
An exception denoting an empty API response.
This error is raised when the API response content is empty, or it contains an empty JSON object.