下载
中文
注册

SendMxpiErrorInfo

函数功能

向下游插件传递错误信息。

函数原型

APP_ERROR MxPluginBase::SendMxpiErrorInfo(MxpiBuffer &buffer, const std::string& pluginName, APP_ERROR errorCode, const std::string& errorText);

参数说明

参数名

说明

buffer

buffer数据。

pluginName

插件名称。

errorCode

错误码。

errorText

错误信息。

返回参数说明

数据结构

说明

std::string

获取到的数据。