Exception: KijiRest::Client::KijiRestClientError
- Inherits:
-
StandardError
- Object
- StandardError
- KijiRest::Client::KijiRestClientError
- Defined in:
- lib/kijirest/client.rb
Overview
Error class that wraps exceptions thrown by the server
Instance Attribute Summary collapse
-
#json_error_message ⇒ Object
readonly
Returns the value of attribute json_error_message.
Instance Method Summary collapse
-
#initialize(json_error) ⇒ KijiRestClientError
constructor
A new instance of KijiRestClientError.
- #to_s ⇒ Object
Constructor Details
#initialize(json_error) ⇒ KijiRestClientError
Returns a new instance of KijiRestClientError.
36 37 38 |
# File 'lib/kijirest/client.rb', line 36 def initialize(json_error) @json_error_message = json_error end |
Instance Attribute Details
#json_error_message ⇒ Object (readonly)
Returns the value of attribute json_error_message.
35 36 37 |
# File 'lib/kijirest/client.rb', line 35 def @json_error_message end |
Instance Method Details
#to_s ⇒ Object
40 41 42 |
# File 'lib/kijirest/client.rb', line 40 def to_s .to_json end |