Exception: Parliament::ServerError
- Inherits:
-
NetworkError
- Object
- StandardError
- NetworkError
- Parliament::ServerError
- Defined in:
- lib/parliament/server_error.rb
Overview
An error raised when a 5xx status code is returned by Net::HTTP inside of Parliament::Request.
Instance Method Summary collapse
-
#initialize(url, response) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(url, response) ⇒ ServerError
Returns a new instance of ServerError.
17 18 19 |
# File 'lib/parliament/server_error.rb', line 17 def initialize(url, response) super end |