Exception: Renee::Core::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Renee::Core::ClientError
- Defined in:
- lib/renee_core/exceptions.rb
Overview
Used to indicate a client-error has occurred (e.g. 4xx)
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message) { ... } ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(message) { ... } ⇒ ClientError
Returns a new instance of ClientError.
9 10 11 12 |
# File 'lib/renee_core/exceptions.rb', line 9 def initialize(, &response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
5 6 7 |
# File 'lib/renee_core/exceptions.rb', line 5 def response @response end |