Exception: Retab::ConnectionError
- Defined in:
- lib/retab/errors.rb
Overview
Raised when the SDK cannot reach the API host at all — DNS failure, TCP RST, host unreachable, etc. Distinct from ‘TimeoutError` (which is raised after a connection was successfully opened but read/write didn’t complete in time) and from any 4xx/5xx ‘APIError` (which means the server WAS reached and replied with a status). Lets callers tell “your network is down” apart from “your input was invalid.”
Instance Attribute Summary
Attributes inherited from Error
#code, #http_status, #message_body, #request_id
Method Summary
Methods inherited from Error
Constructor Details
This class inherits a constructor from Retab::Error