Exception: Twirbet::BadRouteError
- Extended by:
- T::Sig
- Defined in:
- lib/twirbet/errors.rb
Instance Attribute Summary
Attributes inherited from BaseError
Instance Method Summary collapse
Methods inherited from BaseError
#initialize, #to_hash, #to_json, #to_rack_response
Constructor Details
This class inherits a constructor from Twirbet::BaseError
Instance Method Details
#code ⇒ Object
136 137 138 |
# File 'lib/twirbet/errors.rb', line 136 def code "bad_route" end |
#status ⇒ Object
141 142 143 |
# File 'lib/twirbet/errors.rb', line 141 def status 404 end |