errors.CatalogError
A CDSE catalog request failed, or its response cannot be used.
Usage
errors.CatalogError(
*args,
status_code=None,
)Raised when the catalog cannot be reached, answers with an HTTP error, for example HTTP 414 for a search geometry with too many vertices, or returns a malformed response. The underlying requests error is kept as the cause.
Parameters
*args: object-
The message, as for any exception.
status_code: int | None = None- HTTP status of the catalog’s response.
Attributes
status_code-
HTTP status of the catalog’s error response, such as
414or503.Noneif the catalog could not be reached or answered successfully with an unusable response.