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 ‘data` field of the `Error` response 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
42 43 44 |
# File 'lib/fluffle/errors.rb', line 42 def description @description end |
Instance Method Details
#data ⇒ Object
44 45 46 |
# File 'lib/fluffle/errors.rb', line 44 def data { 'description' => @description } end |