10Duke Enterprise C++ Client
|
#include <OAuthServerError.h>
Thrown when server reported an OAuth-related error.
Public Member Functions | |
OAuthServerError (Phase phase, std::string error, const std::string &errorDescription) | |
Constructs new instance. | |
Public Member Functions inherited from tenduke::oauth::OAuthException | |
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. | |
Additional Inherited Members | |
Public Types inherited from tenduke::oauth::OAuthException | |
enum | Phase { NONE , AUTHORIZATION , TOKEN_REQUEST , REFRESH_REQUEST } |
Phase where this exception occurred. | |
|
inline |
Constructs new instance.
phase | - |
error | - |
errorDescription | - |