Exception: Twirbet::UnavailableError
- 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
276 277 278 |
# File 'lib/twirbet/errors.rb', line 276 def code "unavailable" end |
#status ⇒ Object
281 282 283 |
# File 'lib/twirbet/errors.rb', line 281 def status 503 end |