class Ingenico::Connect::SDK::Webhooks::SignatureValidationException
Raised when an error occurred when validating Webhooks
signatures
Public Class Methods
new(args)
click to toggle source
Creates a new SignatureValidationException
@param [Hash] args the options to create the Exception with @option args [String] :message the error message @option args [RuntimeError] :cause an Error object that causes the Exception
Calls superclass method
# File lib/ingenico/connect/sdk/webhooks/signature_validation_exception.rb, line 12 def initialize(args) super(args[:message]) # NOTE: can be nil # store backtrace info if exception given set_backtrace(args[:cause].backtrace) unless args[:cause].nil? end