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

Base class for every exception StripeKit throws. More...

#include <Errors.h>

Inheritance diagram for stripekit::StripeKitException:
[legend]

Public Member Functions

 StripeKitException (const std::string &message)
 Creates an exception carrying a descriptive message.
 ~StripeKitException () override
 Destroys the exception instance.

Detailed Description

Base class for every exception StripeKit throws.

Catch this to handle any StripeKit failure in one place; catch the derived types when the distinction matters.

Definition at line 72 of file Errors.h.

Constructor & Destructor Documentation

◆ StripeKitException()

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

Creates an exception carrying a descriptive message.

Parameters
messageText describing what went wrong.

◆ ~StripeKitException()

stripekit::StripeKitException::~StripeKitException ( )
override

Destroys the exception instance.


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