Exception: CommandTower::Errors::UnauthorizedError
- Inherits:
-
ApplicationError
- Object
- StandardError
- ApplicationError
- CommandTower::Errors::UnauthorizedError
- Defined in:
- app/errors/command_tower/errors/unauthorized_error.rb
Direct Known Subclasses
Auth::AccountDeletedError, Auth::CsrfMismatchError, Auth::CsrfMissingError, Auth::EmailVerificationRequiredError, Auth::ImpersonationSessionExpiredError, Auth::InvalidCredentialsError, Auth::SignupSessionExpiredError, Auth::SignupSessionInvalidError, Auth::SignupSessionMissingError
Instance Attribute Summary
Attributes inherited from ApplicationError
Instance Method Summary collapse
Methods inherited from ApplicationError
Constructor Details
This class inherits a constructor from CommandTower::Errors::ApplicationError
Instance Method Details
#code ⇒ Object
6 7 8 |
# File 'app/errors/command_tower/errors/unauthorized_error.rb', line 6 def code "unauthorized" end |
#log_level ⇒ Object
14 15 16 |
# File 'app/errors/command_tower/errors/unauthorized_error.rb', line 14 def log_level :warn end |
#message ⇒ Object
10 11 12 |
# File 'app/errors/command_tower/errors/unauthorized_error.rb', line 10 def "Unauthorized" end |