StripeKit 0.1.1
Stripe integration toolkit for C++
Loading...
Searching...
No Matches
stripekit::ConfigurationException Class Reference

Thrown when StripeKit is set up in a way it cannot work with. More...

#include <Errors.h>

Inheritance diagram for stripekit::ConfigurationException:
[legend]

Public Member Functions

 ConfigurationException (const std::string &message)
 Creates a configuration exception.
 ~ConfigurationException () 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.

Detailed Description

Thrown when StripeKit is set up in a way it cannot work with.

Typical causes are a malformed webhook payload, or asking for a feature the library was not built with. These indicate a problem to fix rather than a transient failure to retry.

Definition at line 155 of file Errors.h.

Constructor & Destructor Documentation

◆ ConfigurationException()

stripekit::ConfigurationException::ConfigurationException ( const std::string & message)
explicit

Creates a configuration exception.

Parameters
messageText describing what is misconfigured.

◆ ~ConfigurationException()

stripekit::ConfigurationException::~ConfigurationException ( )
override

Destroys the exception instance.


The documentation for this class was generated from the following file: