px_core.sdk_exceptions_ext
px-core SDK-specific exception extensions (type stubs).
Hand-maintained (NOT generated), sibling of sdk_exceptions_ext.py. Mirrors
the typed read-only properties that surface the structured REST detail the C++
SDK exposes via RestErrorDetail.
Module Contents
Classes
Error from a REST-backed SDK request. |
- class px_core.sdk_exceptions_ext.RestApiError
Bases:
px_core.sdk_exceptions.SdkErrorError from a REST-backed SDK request.
Subclass of
SdkError, raised when a request reaches the service but it returns an error response. The typed properties below expose the structured REST error detail (HTTP status code, service error code, correlation id, …).- property status_code: int | None
- property error_code: str | None
- property correlation_id: str | None
- property timestamp: str | None
- property version: str | None