Exception: Servus::Support::Errors::ForbiddenError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::ForbiddenError
- Defined in:
- lib/servus/support/errors.rb
Overview
403 Forbidden - authenticated but not authorized.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Forbidden'
Instance Attribute Summary
Attributes inherited from ServiceError
Instance Method Summary collapse
Methods inherited from ServiceError
Constructor Details
This class inherits a constructor from Servus::Support::Errors::ServiceError
Instance Method Details
#api_error ⇒ Object
83 |
# File 'lib/servus/support/errors.rb', line 83 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
82 |
# File 'lib/servus/support/errors.rb', line 82 def http_status = :forbidden |