| Class | RestClient::Exception |
| In: |
lib/restclient/exceptions.rb
|
| Parent: | RuntimeError |
This is the base RestClient exception class. Rescue it if you want to catch any exception that your request might raise You can get the status code by e.http_code, or see anything about the response via e.response. For example, the entire result body (which is probably an HTML error page) is e.response.
| message | [W] | |
| response | [RW] |