AddErrorInfo

Function Usage

Adds the error information of the plugin to metadata by using the plugin name as the key.

Prototype

APP_ERROR AddErrorInfo(const std::string pluginName, MxpiErrorInfo errorInfo);

Parameter Description

Parameter

Description

pluginName

Plugin name

errorInfo

Error information of the plugin. For details, see MxpiErrorInfo.