Exception: RailsWebhookOutbox::SecretRotationError
- Inherits:
-
StandardError
- Object
- StandardError
- RailsWebhookOutbox::SecretRotationError
- Defined in:
- lib/rails_webhook_outbox/secret_rotation_error.rb
Instance Method Summary collapse
-
#initialize ⇒ SecretRotationError
constructor
A new instance of SecretRotationError.
Constructor Details
#initialize ⇒ SecretRotationError
Returns a new instance of SecretRotationError.
3 4 5 6 |
# File 'lib/rails_webhook_outbox/secret_rotation_error.rb', line 3 def initialize super("Cannot rotate secret: the previous secret is still within its grace period. " \ "Pass force: true to rotate anyway and immediately invalidate it.") end |