Exception: Common::Client::Errors::ClientError
- Defined in:
- lib/common/client/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message = nil, status = nil, body = nil) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(message = nil, status = nil, body = nil) ⇒ ClientError
Returns a new instance of ClientError.
12 13 14 15 16 |
# File 'lib/common/client/errors.rb', line 12 def initialize( = nil, status = nil, body = nil) super() @status = status @body = body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
10 11 12 |
# File 'lib/common/client/errors.rb', line 10 def body @body end |
#status ⇒ Object
Returns the value of attribute status.
10 11 12 |
# File 'lib/common/client/errors.rb', line 10 def status @status end |