Exception: CommandTower::Messaging::Endpoints::VerificationFailedError
- Defined in:
- app/services/command_tower/messaging/endpoints/verification_failed_error.rb
Overview
Raised after mark_verification_failed when the provider rejected validate/test. Carries a safe error_code for host mapping; never includes secrets or raw provider bodies.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code:, message: "Pushover verification failed") ⇒ VerificationFailedError
constructor
A new instance of VerificationFailedError.
Constructor Details
#initialize(error_code:, message: "Pushover verification failed") ⇒ VerificationFailedError
Returns a new instance of VerificationFailedError.
11 12 13 14 |
# File 'app/services/command_tower/messaging/endpoints/verification_failed_error.rb', line 11 def initialize(error_code:, message: "Pushover verification failed") @error_code = error_code.to_sym super() end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
9 10 11 |
# File 'app/services/command_tower/messaging/endpoints/verification_failed_error.rb', line 9 def error_code @error_code end |