Exception: Passfort::Errors::RequestError

Inherits:
APIError
  • Object
show all
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

#errors, #response

Instance Method Summary collapse

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