Exception: HttpClient::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- HttpClient::Exception
- Defined in:
- lib/http_client/exceptions.rb
Overview
This is the base HttpClient exception class. Rescue it if you want to catch any exception that your request might raise
Direct Known Subclasses
ConnectionRefused, ExceptionWithResponse, RequestTimeout, ServerBrokeConnection
Instance Method Summary collapse
Instance Method Details
#message(default = nil) ⇒ Object
5 6 7 |
# File 'lib/http_client/exceptions.rb', line 5 def (default=nil) self.class::ErrorMessage end |