Exception: Twirbet::PermissionDeniedError
- 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
164 165 166 |
# File 'lib/twirbet/errors.rb', line 164 def code "permission_denied" end |
#status ⇒ Object
169 170 171 |
# File 'lib/twirbet/errors.rb', line 169 def status 403 end |