ApiError
ApiError(code: str, message: str, status: int) -> NoneStructured error raised by Api methods when a request fails.
Attributes
Section titled “Attributes”code— Machine-readable error code (e.g."not_found","auth_missing").message— Human-readable description.status— HTTP status code (0 for client-side errors like missing credentials).