Quantum++
v1.2
A modern C++11 quantum computing library
|
Custom exception. More...
#include <classes/exception.h>
Public Member Functions | |
CustomException (const std::string &where, const std::string &what) | |
![]() | |
Exception (const std::string &where) | |
Constructs an exception. More... | |
virtual const char * | what () const noexcept override |
Overrides std::exception::what() More... | |
Private Member Functions | |
std::string | type_description () const override |
Exception type description. More... | |
Private Attributes | |
std::string | what_ {} |
Custom exception.
Custom exception, the user must provide a custom message
|
inline |
|
inlineoverrideprivatevirtual |
|
private |