Exception: MinatoErrorHandler::Errors::NotAuthorizedError
- Inherits:
-
InternalError
- Object
- StandardError
- MinatoError
- InternalError
- MinatoErrorHandler::Errors::NotAuthorizedError
- Defined in:
- lib/minato_error_handler/errors/not_authorized_error.rb
Instance Attribute Summary
Attributes inherited from MinatoError
#caused_by, #debug_details, #details, #http_request, #http_response
Instance Method Summary collapse
Methods inherited from MinatoError
#as_json, #backtrace=, #code, #error_reporting_type, #json_response, #stack_trace, #to_json, #unique_identifier
Instance Method Details
#message ⇒ Object
6 7 8 |
# File 'lib/minato_error_handler/errors/not_authorized_error.rb', line 6 def "you are not allowed to perform this action" end |
#status_code ⇒ Object
10 11 12 |
# File 'lib/minato_error_handler/errors/not_authorized_error.rb', line 10 def status_code 403 end |