web3data.exceptions¶
This module contains API-related exceptions.
-
exception
web3data.exceptions.APIError[source]¶ Bases:
ExceptionAn 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.APIErrorAn exception denoting an empty API response.
This error is raised when the API response content is empty, or it contains an empty JSON object.