Adds the error information of the plugin to metadata by using the plugin name as the key.
1 | APP_ERROR MxpiMetadataManager::AddErrorInfo(const std::string pluginName, MxpiErrorInfo errorInfo); |
Parameter |
Description |
|---|---|
pluginName |
Plugin name |
errorInfo |
Error information of the plugin. For details, see MxpiErrorInfo. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |