![]() |
ImFusion SDK 4.3
|
#include <ImFusion/ML/MLCommon.h>
Convenience tool for returning error messages together with statuses. More...
Convenience tool for returning error messages together with statuses.
Public Types | |
| enum class | Code { Unknown = -1 , Success = 0 , ConfigurationError = 1 , RuntimeError = 2 } |
| Return code. | |
Public Member Functions | |
| bool | ok () const |
Static Public Member Functions | |
| static Status | OK () |
Public Attributes | |
| Code | code = Code::Unknown |
| std::optional< std::string > | errorMessage |