Exception: Rentlinx::ServerError
- Inherits:
-
HTTPError
- Object
- StandardError
- RentlinxError
- HTTPError
- Rentlinx::ServerError
- Defined in:
- lib/rentlinx/errors.rb
Overview
Thrown when 500 series error codes (internal server errors) are received
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(response) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(response) ⇒ ServerError
Returns a new instance of ServerError.
91 92 93 |
# File 'lib/rentlinx/errors.rb', line 91 def initialize(response) super(response, 'The remote server has experienced an error.') end |