Exception: Rentlinx::ServerError

Inherits:
HTTPError show all
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

#response

Instance Method Summary collapse

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