ImFusion SDK 4.3
Status Struct Reference

#include <ImFusion/ML/MLCommon.h>

Convenience tool for returning error messages together with statuses. More...

Detailed Description

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::stringerrorMessage
 

The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close