Exception: KB::ClientError
- Defined in:
- lib/kb/errors/client_error.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from KB::Error
Instance Method Details
#message ⇒ Object
3 4 5 6 7 |
# File 'lib/kb/errors/client_error.rb', line 3 def JSON.parse(body)['message'] rescue StandardError body end |