10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::OIDCException Class Reference

#include <OIDCException.h>

Detailed Description

Thrown when OIDC-related errors occur.

Inheritance diagram for tenduke::oidc::OIDCException:
tenduke::oauth::OAuthException tenduke::TendukeException

Public Member Functions

 OIDCException (enum tenduke::oauth::OAuthException::Phase phase, const std::string &error, const std::string &errorDescription)
 Constructs new instance.
 
 OIDCException (const std::string &errorDescription)
 Constructs new instance just with description.
 
- 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.
 

Constructor & Destructor Documentation

◆ OIDCException() [1/2]

tenduke::oidc::OIDCException::OIDCException ( enum tenduke::oauth::OAuthException::Phase  phase,
const std::string &  error,
const std::string &  errorDescription 
)
inline

Constructs new instance.

Parameters
phase-
error-
errorDescription-

◆ OIDCException() [2/2]

tenduke::oidc::OIDCException::OIDCException ( const std::string &  errorDescription)
inlineexplicit

Constructs new instance just with description.

Parameters
errorDescription-

The documentation for this class was generated from the following file: