Exception: CommandTower::Errors::Account::PushoverVerificationFailedError
- Inherits:
-
CommandTower::Errors::ApplicationError
- Object
- StandardError
- CommandTower::Errors::ApplicationError
- CommandTower::Errors::Account::PushoverVerificationFailedError
- Defined in:
- app/errors/command_tower/errors/account/pushover_verification_failed_error.rb
Instance Attribute Summary
Attributes inherited from CommandTower::Errors::ApplicationError
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(code: "pushover_verification_failed", message: "Pushover verification failed", details: nil, cause: nil) ⇒ PushoverVerificationFailedError
constructor
A new instance of PushoverVerificationFailedError.
- #log_level ⇒ Object
- #message ⇒ Object
Methods inherited from CommandTower::Errors::ApplicationError
Constructor Details
#initialize(code: "pushover_verification_failed", message: "Pushover verification failed", details: nil, cause: nil) ⇒ PushoverVerificationFailedError
Returns a new instance of PushoverVerificationFailedError.
7 8 9 10 11 |
# File 'app/errors/command_tower/errors/account/pushover_verification_failed_error.rb', line 7 def initialize(code: "pushover_verification_failed", message: "Pushover verification failed", details: nil, cause: nil) @code = code @message = super(details:, cause:) end |
Instance Method Details
#code ⇒ Object
13 14 15 |
# File 'app/errors/command_tower/errors/account/pushover_verification_failed_error.rb', line 13 def code @code end |
#log_level ⇒ Object
21 22 23 |
# File 'app/errors/command_tower/errors/account/pushover_verification_failed_error.rb', line 21 def log_level :info end |
#message ⇒ Object
17 18 19 |
# File 'app/errors/command_tower/errors/account/pushover_verification_failed_error.rb', line 17 def @message end |