Exception: Fluffle::Errors::ServerError
- Defined in:
- lib/fluffle/errors.rb
Overview
Superclass of all errors that may be raised within the server
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Longer-form description that may be present in the
datafield of theErrorresponse object.
Instance Method Summary collapse
Methods inherited from BaseError
Instance Attribute Details
#description ⇒ Object (readonly)
Longer-form description that may be present in the data field of the Error response object
34 35 36 |
# File 'lib/fluffle/errors.rb', line 34 def description @description end |
Instance Method Details
#data ⇒ Object
36 37 38 |
# File 'lib/fluffle/errors.rb', line 36 def data { 'description' => @description } end |