Exception: Checkr::APIError
- Inherits:
-
CheckrError
- Object
- StandardError
- CheckrError
- Checkr::APIError
- Defined in:
- lib/checkr/errors/api_error.rb
Instance Attribute Summary
Attributes inherited from CheckrError
#http_body, #http_status, #json_body, #message
Class Method Summary collapse
Methods inherited from CheckrError
Constructor Details
This class inherits a constructor from Checkr::CheckrError
Class Method Details
.generic(rcode, rbody) ⇒ Object
4 5 6 7 |
# File 'lib/checkr/errors/api_error.rb', line 4 def self.generic(rcode, rbody) self.new("Invalid response object from API: #{rbody.inspect} " + "(HTTP response code was #{rcode})", rcode, rbody) end |