Throwing wrapper around verifyWebhookSignature. Returns the parsed
payload on success; throws an Error whose message is the verifier's
reason string on any failure.
Useful when you want the verification to integrate with your framework's
existing error-handling middleware rather than handling the result inline.
Throwing wrapper around verifyWebhookSignature. Returns the parsed payload on success; throws an
Errorwhose message is the verifier'sreasonstring on any failure.Useful when you want the verification to integrate with your framework's existing error-handling middleware rather than handling the result inline.