|
10Duke Enterprise C++ Client
|
#include <OAuthException.h>
Generic OAuth-related exception.
Also a base-class for more specific exceptions.
Public Types | |
| enum | Phase { NONE , AUTHORIZATION , TOKEN_REQUEST , REFRESH_REQUEST } |
| Phase where this exception occurred. | |
Public Member Functions | |
| OAuthException (Phase phase, std::string error, const std::string &errorDescription) | |
| Constructs new instance. | |
| Phase | getPhase () const |
| The phase where this exception occurred. | |
| std::string | getError () const |
| Error code. | |
| std::string | getErrorDescription () const |
| Error description. | |
Public Member Functions inherited from tenduke::TendukeException | |
| TendukeException (const std::string &message) | |
| Constructs new instance. | |
|
inline |
Constructs new instance.
| phase | - |
| error | - |
| errorDescription | - |
|
inline |
Error code.
|
inline |
Error description.
|
inline |
The phase where this exception occurred.