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