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