Label is disabled or inactive.
More...
#include <mip/error.h>
|
| | LabelDisabledError (const std::string &message, const std::string &name="LabelDisabledError") |
| |
| | LabelDisabledError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="LabelDisabledError") |
| |
| 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 |
| |
Label is disabled or inactive.
◆ LabelDisabledError() [1/2]
| LabelDisabledError::LabelDisabledError |
( |
const std::string & | message, |
|
|
const std::string & | name = "LabelDisabledError" ) |
|
inlineexplicit |
◆ LabelDisabledError() [2/2]
| LabelDisabledError::LabelDisabledError |
( |
const std::string & | message, |
|
|
const std::map< std::string, std::string > & | debugInfo, |
|
|
const std::map< std::string, std::string > | sensitiveDebugInfo, |
|
|
const std::string & | name = "LabelDisabledError" ) |
|
inlineexplicit |
◆ Clone()
| std::shared_ptr< Error > LabelDisabledError::Clone |
( |
| ) |
const |
|
inlineoverridevirtual |
Clone the error.
- Returns
- a clone of the error.
Reimplemented from BadInputError.
◆ GetErrorType()
| ErrorType LabelDisabledError::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: