Exception: Oauth2ApiClient::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Oauth2ApiClient::Error
- Defined in:
- lib/oauth2_api_client/errors.rb
Overview
The ResponseError class is the main exception class of Oauth2ApiClient and is raised when a request fails with some status code other than 2xx. Using the exception object, you still have access to the response. Moreover, there are exception classes for all 4xx and 5xx errors.