#include <KttException.h>
Public Member Functions | |
| KttException (const std::string &message, const ExceptionReason reason=ExceptionReason::General) | |
| const char * | what () const noexcept override |
| ExceptionReason | GetReason () const |
Exception thrown when invalid usage of KTT API is detected.
| ktt::KttException::KttException | ( | const std::string & | message, |
| const ExceptionReason | reason = ExceptionReason::General |
||
| ) |
Creates new exception with the specified error message.
| message | Holds message describing why the exception was thrown. |
| reason | Reason why the exception was thrown. |
| ExceptionReason ktt::KttException::GetReason | ( | ) | const |
Returns reason why the exception was thrown.
|
overridenoexcept |
Returns message which describes why the exception was thrown.