Exceptions
property_radar.exceptions
Typed and sanitized exceptions raised by the PropertyRadar client.
PropertyRadarError
Bases: Exception
Base exception for client and API failures.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
Sanitized failure description. |
required |
status_code
|
int | None
|
HTTP status code, when a response was received. |
None
|
request_id
|
str | None
|
Vendor request identifier suitable for support correlation. |
None
|
retry_after
|
float | None
|
Suggested retry delay in seconds, when provided. |
None
|
__init__(message: str, *, status_code: int | None = None, request_id: str | None = None, retry_after: float | None = None) -> None
Initialize sanitized exception metadata.