class

Sonarr::TimeoutError

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

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

The client wraps the underlying IO::TimeoutError into this type so callers can rescue it (or Sonarr::ApiError / Sonarr::Error) without needing to know about the HTTP shard. A status code of 0 signals that no HTTP response was ever received.

Constructors

from_timeout(ex : IO::TimeoutError) : TimeoutError

Wraps an IO::TimeoutError raised while issuing a request.

Source
new(message : String | Nil = nil)
Source