The user could not get access to the content due to missing authentication token.
More...
#include <mip/error.h>
|
| | NoAuthTokenError (const std::string &message, const std::string &name="NoAuthTokenError") |
| |
| | NoAuthTokenError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="NoAuthTokenError") |
| |
| std::shared_ptr< Error > | Clone () const override |
| | Clone the error.
|
| |
| ErrorType | GetErrorType () const override |
| | Get the error type.
|
| |
| | AccessDeniedError (const std::string &message, const std::string &name="AccessDeniedError") |
| |
| | AccessDeniedError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="AccessDeniedError") |
| |
| char const * | what () const noexcept override |
| | Get the error message.
|
| |
| const std::string & | GetErrorName () const |
| | Get the error name.
|
| |
| const std::string & | GetMessage (bool maskPII=false) const |
| | Get the error message.
|
| |
| void | SetMessage (const std::string &msg) |
| | Set the error message.
|
| |
| void | AddDebugInfo (const std::string &key, const std::string &value, bool sensitive=false) |
| | Add debug info entry.
|
| |
| const std::map< std::string, std::string > & | GetDebugInfo () const |
| | Get debug info.
|
| |
| virtual | ~Error () |
| |
|
| | Error (const std::string &message, const std::string &name, ErrorType type) |
| |
| | Error (const std::string &message, const std::map< std::string, std::string > debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name, ErrorType type) |
| |
| std::string | mMessage |
| |
| std::map< std::string, std::string > | mDebugInfo |
| |
| std::string | mName |
| |
| ErrorType | mType |
| |
The user could not get access to the content due to missing authentication token.
◆ NoAuthTokenError() [1/2]
| NoAuthTokenError::NoAuthTokenError |
( |
const std::string & | message, |
|
|
const std::string & | name = "NoAuthTokenError" ) |
|
inlineexplicit |
◆ NoAuthTokenError() [2/2]
| NoAuthTokenError::NoAuthTokenError |
( |
const std::string & | message, |
|
|
const std::map< std::string, std::string > & | debugInfo, |
|
|
const std::map< std::string, std::string > | sensitiveDebugInfo, |
|
|
const std::string & | name = "NoAuthTokenError" ) |
|
inlineexplicit |
◆ Clone()
| std::shared_ptr< Error > NoAuthTokenError::Clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetErrorType()
| ErrorType NoAuthTokenError::GetErrorType |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the error type.
- Returns
- the error type.
Reimplemented from Error.
The documentation for this class was generated from the following file: