MIP SDK — C++ 1.18
API Reference Documentation for C++
Loading...
Searching...
No Matches
CustomerKeyUnavailableError Class Reference

Bring your own encryption key needed and unavailable. More...

#include <mip/error.h>

Inheritance diagram for CustomerKeyUnavailableError:
AccessDeniedError Error

Public Member Functions

 CustomerKeyUnavailableError (const std::string &message, const std::string &name="CustomerKeyUnavailableError")
 
 CustomerKeyUnavailableError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > &sensitiveDebugInfo, const std::string &name="CustomerKeyUnavailableError")
 
std::shared_ptr< ErrorClone () const override
 Clone the error.
 
ErrorType GetErrorType () const override
 Get the error type.
 
- Public Member Functions inherited from AccessDeniedError
 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")
 
- Public Member Functions inherited from Error
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from 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)
 
- Protected Attributes inherited from Error
std::string mMessage
 
std::map< std::string, std::string > mDebugInfo
 
std::string mName
 
ErrorType mType
 

Detailed Description

Bring your own encryption key needed and unavailable.

Constructor & Destructor Documentation

◆ CustomerKeyUnavailableError() [1/2]

CustomerKeyUnavailableError::CustomerKeyUnavailableError ( const std::string & message,
const std::string & name = "CustomerKeyUnavailableError" )
inlineexplicit

◆ CustomerKeyUnavailableError() [2/2]

CustomerKeyUnavailableError::CustomerKeyUnavailableError ( const std::string & message,
const std::map< std::string, std::string > & debugInfo,
const std::map< std::string, std::string > & sensitiveDebugInfo,
const std::string & name = "CustomerKeyUnavailableError" )
inlineexplicit

Member Function Documentation

◆ Clone()

std::shared_ptr< Error > CustomerKeyUnavailableError::Clone ( ) const
inlineoverridevirtual

Clone the error.

Returns
a clone of the error.

Reimplemented from AccessDeniedError.

◆ GetErrorType()

ErrorType CustomerKeyUnavailableError::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: