Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
The user could not get access to the content. For example, no permissions, content revoked. More...
#include <error.h>
Public Types | |
enum class | Category { Unknown = 0 , UserNotFound = 1 , AccessDenied = 2 , AccessExpired = 3 , InvalidEmail = 4 , UnknownTenant = 5 , NotOwner = 6 , NotPremiumLicenseUser = 7 , ClientVersionNotSupported = 8 } |
Category of no permissions error. More... | |
Public Member Functions | |
std::string | GetReferrer () const |
Gets the contact in case of missing rights to the document. | |
std::string | GetOwner () const |
Gets the owner of the document. | |
Category | GetCategory () const |
Gets the category of no permissions failure. | |
![]() | |
char const * | what () const noexcept override |
Get the error message. | |
virtual std::shared_ptr< Error > | Clone () const =0 |
Clone the error. | |
virtual ErrorType | GetErrorType () const |
Get the error type. | |
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. | |
Private Member Functions | |
const std::string & | GetCategoryString (Category category) const |
Private Attributes | |
Category | mCategory |
std::string | mReferrer |
std::string | mOwner |
Additional Inherited Members | |
![]() | |
std::string | mMessage |
std::map< std::string, std::string > | mDebugInfo |
std::string | mName |
ErrorType | mType |
The user could not get access to the content. For example, no permissions, content revoked.
|
strong |
Category of no permissions error.
|
inline |
Gets the category of no permissions failure.
|
inlineprivate |
|
inline |
Gets the owner of the document.
|
inline |
Gets the contact in case of missing rights to the document.
|
private |
|
private |
|
private |