Exception: Telnyx::Errors::WebhookVerificationError
- Inherits:
-
StandardError
- Object
- StandardError
- Telnyx::Errors::WebhookVerificationError
- Defined in:
- lib/telnyx/lib/webhook_verification_error.rb
Overview
Error raised when webhook signature verification fails.
This error is raised by the webhook verification module when:
-
No public key is configured
-
Required headers are missing (telnyx-signature-ed25519, telnyx-timestamp)
-
Timestamp is too old or too new (outside 5-minute tolerance)
-
Signature verification fails
-
Public key or signature format is invalid
Instance Method Summary collapse
-
#initialize(message:) ⇒ WebhookVerificationError
constructor
A new instance of WebhookVerificationError.
Constructor Details
#initialize(message:) ⇒ WebhookVerificationError
Returns a new instance of WebhookVerificationError.
22 23 24 |
# File 'lib/telnyx/lib/webhook_verification_error.rb', line 22 def initialize(message:) super() end |