Delegate Response Error. Thrown or returned in response to encountering an error in a delegate method.
More...
#include <error.h>
|
| DelegateResponseError (const std::exception_ptr &except) |
| Creates an error/exception object. Call this method from a MIP delegate function to create a MIP or standard C++ exception object.
|
|
| DelegateResponseError (const std::string &message, const std::string &stackTrace, const std::string &name="DelegateResponseError") |
| Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
|
|
| DelegateResponseError (const std::string &message, long HResult, const std::string &stackTrace, const std::string &name="DelegateResponseError") |
| Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
|
|
| DelegateResponseError (const std::string &message, long HResult) |
| Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
|
|
| DelegateResponseError (const std::string &message) |
| Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
|
|
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.
|
|
Delegate Response Error. Thrown or returned in response to encountering an error in a delegate method.
◆ DelegateResponseError() [1/5]
DelegateResponseError::DelegateResponseError |
( |
const std::exception_ptr & | except | ) |
|
|
inlineexplicit |
Creates an error/exception object. Call this method from a MIP delegate function to create a MIP or standard C++ exception object.
- Parameters
-
except | The C++ exception that was encountered. |
◆ DelegateResponseError() [2/5]
DelegateResponseError::DelegateResponseError |
( |
const std::string & | message, |
|
|
const std::string & | stackTrace, |
|
|
const std::string & | name = "DelegateResponseError" ) |
|
inline |
Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
- Parameters
-
message | Message associated with the exception. |
stackTrace | The stack trace at the time of the exception. |
name | Some string to uniquely identify the type of this exception. |
◆ DelegateResponseError() [3/5]
DelegateResponseError::DelegateResponseError |
( |
const std::string & | message, |
|
|
long | HResult, |
|
|
const std::string & | stackTrace, |
|
|
const std::string & | name = "DelegateResponseError" ) |
|
inline |
Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
- Parameters
-
message | Message associated with the exception. |
HResult | HResult that identifies the error that caused this exception. |
stackTrace | The stack trace at the time of the exception. |
name | Some string to uniquely identify the type of this exception. |
◆ DelegateResponseError() [4/5]
DelegateResponseError::DelegateResponseError |
( |
const std::string & | message, |
|
|
long | HResult ) |
|
inline |
Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
- Parameters
-
message | Message associated with the exception. |
HResult | HResult that identifies the error that caused this exception. |
◆ DelegateResponseError() [5/5]
DelegateResponseError::DelegateResponseError |
( |
const std::string & | message | ) |
|
|
inline |
Creates an error/exception object. Call this method from a MIP delegate function to create a generic MIP C++ exception object.
- Parameters
-
message | Message associated with the exception. |
The documentation for this class was generated from the following file:
- /home/mbaldwin/docs/mip-sdk-for-cpp/src/api/mip/error.h