|
| | TemplateArchivedError (const std::string &message, const std::string &name="TemplateArchivedError") |
| |
| | TemplateArchivedError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="TemplateArchivedError") |
| |
| std::shared_ptr< Error > | Clone () const override |
| | Clone the error.
|
| |
| ErrorType | GetErrorType () const override |
| | Get the error type.
|
| |
| | BadInputError (const std::string &message, const std::string &name=GetBadInputErrorString(), ErrorCode errorCode=ErrorCode::General) |
| |
| | BadInputError (const std::string &message, ErrorCode errorCode, const std::string &name=GetBadInputErrorString()) |
| |
| | BadInputError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name=GetBadInputErrorString(), ErrorCode errorCode=ErrorCode::General) |
| |
| ErrorCode | GetErrorCode () const |
| | Gets the errorCode of bad input.
|
| |
| 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 () |
| |
|
| enum class | ErrorCode {
General = 0
, FileIsTooLargeForProtection = 1
, ParameterParsing = 2
, LicenseNotTrusted = 3
,
DoubleKey = 4
, FileFormatNotSupported = 5
} |
| | ErrorCode of bad input error. More...
|
| |
| | 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 |
| |
Template ID is archived and unavailable for protection.