The user could not get access to the content due to a service being disabled.
More...
#include <mip/error.h>
|
| | ServiceDisabledError (Extent extent, const std::string &requestId, const std::string &message, const std::string &name="ServiceDisabledError") |
| |
| | ServiceDisabledError (Extent extent, const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="ServiceDisabledError") |
| |
| std::shared_ptr< Error > | Clone () const override |
| | Clone the error.
|
| |
| ErrorType | GetErrorType () const override |
| | Get the error type.
|
| |
| Extent | GetExtent () const |
| | Gets the extent for which the service is disabled.
|
| |
| | 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 a service being disabled.
◆ Extent
Describes the extent for which the service is disabled.
| Enumerator |
|---|
| User | Service is disabled for the user.
|
| Device | Service is disabled for the device.
|
| Platform | Service is disabled for the platform.
|
| Tenant | Service is disabled for the tenant.
|
◆ ServiceDisabledError() [1/2]
| ServiceDisabledError::ServiceDisabledError |
( |
Extent | extent, |
|
|
const std::string & | requestId, |
|
|
const std::string & | message, |
|
|
const std::string & | name = "ServiceDisabledError" ) |
|
inlineexplicit |
◆ ServiceDisabledError() [2/2]
| ServiceDisabledError::ServiceDisabledError |
( |
Extent | extent, |
|
|
const std::string & | message, |
|
|
const std::map< std::string, std::string > & | debugInfo, |
|
|
const std::map< std::string, std::string > | sensitiveDebugInfo, |
|
|
const std::string & | name = "ServiceDisabledError" ) |
|
inlineexplicit |
◆ Clone()
| std::shared_ptr< Error > ServiceDisabledError::Clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetErrorType()
| ErrorType ServiceDisabledError::GetErrorType |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the error type.
- Returns
- the error type.
Reimplemented from Error.
◆ GetExtent()
| Extent ServiceDisabledError::GetExtent |
( |
| ) |
const |
|
inline |
Gets the extent for which the service is disabled.
- Returns
- Extent for which the service is disabled
◆ GetExtentString()
| const std::string & ServiceDisabledError::GetExtentString |
( |
Extent | extent | ) |
const |
|
inlineprivate |
◆ mExtent
| Extent ServiceDisabledError::mExtent |
|
private |
The documentation for this class was generated from the following file: