Rapidata error
RapidataError #
RapidataError(
status_code: Optional[int] = None,
message: str | None = None,
original_exception: Exception | None = None,
details: Any = None,
trace_id: str | None = None,
)
Bases: Exception
Custom error class for Rapidata API errors.
Source code in src/rapidata/rapidata_client/exceptions/rapidata_error.py
get_reason #
Get a concise reason string suitable for grouping and display.
Returns the most meaningful error reason extracted from the API response.