class Passfort::Errors::APIError

Represents any response from the API which is not a 200 OK

Attributes

errors[R]
response[R]

Public Class Methods

new(msg, errors = [], response = nil) click to toggle source
Calls superclass method
# File lib/passfort/errors/api_error.rb, line 9
def initialize(msg, errors = [], response = nil)
  super(msg)
  @response = response
  @errors = errors
end