MxpiErrorInfo

Function

Structure declaration of the plugin error information, which is used to store the error code and description of the plugin.

Structure Definition

struct MxpiErrorInfo {
    APP_ERROR ret;
    std::string errorInfo;
};

Parameter Description

Parameter

Description

ret

Error code. For details, see the MxBase/ErrorCode/ErrorCode.h file.

errorInfo

Error description corresponding to the error code. For details, see the MxBase/ErrorCode/ErrorCode.h file.