Exception: RailsWebhookOutbox::SecretRotationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails_webhook_outbox/secret_rotation_error.rb

Instance Method Summary collapse

Constructor Details

#initializeSecretRotationError

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