Exception: Vortex::WebhookSignatureError

Inherits:
VortexError
  • Object
show all
Defined in:
lib/vortex/webhooks.rb

Overview

Error raised when webhook signature verification fails

Instance Attribute Summary

Attributes inherited from VortexError

#cause

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ WebhookSignatureError

Returns a new instance of WebhookSignatureError.



9
10
11
# File 'lib/vortex/webhooks.rb', line 9

def initialize(message = nil)
  super(message || 'Webhook signature verification failed. Ensure you are using the raw request body and the correct signing secret.')
end