Radarr::ApiError
Inherits Radarr::Error < Exception < Reference < Object
Raised when the Radarr API responds with a non-2xx HTTP status.
Carries the HTTP status_code and the raw response body (often a JSON
error payload) so callers can inspect what went wrong. The client wraps
crest's own Crest::RequestFailed into this type so consumers never need
to know the underlying HTTP shard.
Constructors
Wraps the response of a crest failure (raised when handle_errors is
on) into a typed ApiError.
Builds an ApiError from a crest response.
Instance methods
body
Sourcestatus_code
Source