Exception: Passfort::Errors::RequestError
- Defined in:
- lib/passfort/errors/request_error.rb
Overview
Specific error class for when an HTTP request error has occurred
Instance Attribute Summary
Attributes inherited from APIError
Instance Method Summary collapse
-
#initialize(errors, response) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(errors, response) ⇒ RequestError
Returns a new instance of RequestError.
7 8 9 |
# File 'lib/passfort/errors/request_error.rb', line 7 def initialize(errors, response) super("Request API error - HTTP #{response.status}", errors, response) end |