Exception: Noiseless::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/noiseless.rb

Overview

Raised when the search backend cannot be reached at all: connection refused, DNS failure, reset socket, or transport timeout. Distinct from RequestError, which means the backend was reached and replied with an HTTP error. Wrapping happens at the transport boundary (HttpTransport), so callers rescue Noiseless::Error instead of enumerating socket/system exception classes from whatever HTTP stack the transport happens to use.