Exception: FullContact::Error
- Inherits:
-
StandardError
- Object
- StandardError
- FullContact::Error
- Defined in:
- lib/fullcontact/error.rb
Overview
Custom error class for rescuing from all FullContact errors
Direct Known Subclasses
BadGateway, BadRequest, Forbidden, InternalServerError, Invalid, NotFound, RateLimited, ServiceUnavailable, Unauthorized
Instance Attribute Summary collapse
-
#http_headers ⇒ Object
readonly
Returns the value of attribute http_headers.
Instance Method Summary collapse
-
#initialize(message, http_headers) ⇒ Error
constructor
A new instance of Error.
Constructor Details
Instance Attribute Details
#http_headers ⇒ Object (readonly)
Returns the value of attribute http_headers.
4 5 6 |
# File 'lib/fullcontact/error.rb', line 4 def http_headers @http_headers end |