Exception: Squad::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Squad::Error
- Defined in:
- lib/squad.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#body ⇒ Object
57 |
# File 'lib/squad.rb', line 57 def body; {message: 'error'} end |
#header ⇒ Object
56 |
# File 'lib/squad.rb', line 56 def header; DEFAULT_HEADER end |
#status ⇒ Object
55 |
# File 'lib/squad.rb', line 55 def status; 500 end |