Exception: PDC::JsonError
- Inherits:
-
ResponseError
- Object
- StandardError
- Error
- ResponseError
- PDC::JsonError
- Defined in:
- lib/pdc/http/errors.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ResponseError
Instance Method Summary collapse
Methods inherited from ResponseError
Constructor Details
This class inherits a constructor from PDC::ResponseError
Instance Method Details
#message ⇒ Object
19 20 21 22 |
# File 'lib/pdc/http/errors.rb', line 19 def summary = detail || response.body "Error: #{status} - #{summary}" end |