|
StripeKit 0.1.1
Stripe integration toolkit for C++
|
Thrown when a webhook delivery cannot be trusted. More...
#include <Errors.h>
Public Member Functions | |
| SignatureVerificationException (const std::string &message) | |
| Creates a signature verification exception. | |
| ~SignatureVerificationException () override | |
| Destroys the exception instance. | |
| Public Member Functions inherited from stripekit::StripeKitException | |
| StripeKitException (const std::string &message) | |
| Creates an exception carrying a descriptive message. | |
| ~StripeKitException () override | |
| Destroys the exception instance. | |
Thrown when a webhook delivery cannot be trusted.
Either the signature does not match the payload, or its timestamp is outside the allowed tolerance. Answer such a request with HTTP 400: the delivery did not come from Stripe, or was tampered with, and retrying will not help.
|
explicit |
Creates a signature verification exception.
| message | Text describing which check failed. |
|
override |
Destroys the exception instance.