class

Radarr::TimeoutError

Inherits Radarr::ApiError < Radarr::Error < Exception < Reference < Object

Raised when a request exceeds the client's configured connect/read timeout.

The client wraps the underlying IO::TimeoutError into this type so a slow or unresponsive server surfaces as a clear, rescuable Radarr::Error (a Radarr::ApiError) rather than leaking a raw IO::TimeoutError. It carries a synthetic status_code of 0 (no HTTP response was received).

Constructors

from_timeout(ex : IO::TimeoutError) : TimeoutError

Wraps a socket/connect timeout (IO::TimeoutError) into a typed error.

Source
new(message : String | Nil = nil, cause : Exception | Nil = nil)
Source