|
c2pa-c
C++ API for c2pa-c library
|
Exception class for C2pa errors. This class is used to throw exceptions for errors encountered by the C2pa library via c2pa_error(). More...
#include <c2pa.hpp>


Public Member Functions | |
| C2paException () | |
| Default constructor. | |
| C2paException (std::string message) | |
| Construct an exception with a custom error message. | |
| ~C2paException () override=default | |
| C2paException (const C2paException &)=default | |
| C2paException & | operator= (const C2paException &)=default |
| C2paException (C2paException &&)=default | |
| C2paException & | operator= (C2paException &&)=default |
| const char * | what () const noexcept override |
| Get the exception message. | |
Exception class for C2pa errors. This class is used to throw exceptions for errors encountered by the C2pa library via c2pa_error().
| c2pa::C2paException::C2paException | ( | ) |
Default constructor.
Creates an exception and retrieves the error message from the C2PA library.
|
explicit |
Construct an exception with a custom error message.
| message | The error message. |
|
overridedefault |
|
default |
|
default |
|
default |
|
default |
|
overridenoexcept |
Get the exception message.