PluginException.h File Reference

Exception type which contains a plug-in defined return code along with the context in which the error occurred. More...

#include <mvtec/plugin/mv_plugin_api_v2.h>
#include <mvtec/plugin-support/v1/Defines.h>
#include <mvtec/plugin-support/v1/detail/AllToStr.h>
#include <stdexcept>
#include <string_view>

Data Structures

struct  PluginException
 

Functions

auto WrongRecipeInputParameter (size_t input_size, size_t recipe_input_size) -> PluginException
 
auto RecipeIsNotPreparedJobRejected (RecipeId recipe_id) -> PluginException
 
auto NullValueTypeError () -> PluginException
 
auto WrongValueTypeError (MVValueType_t expected, MVValueType_t actual) -> PluginException
 
auto WrongDataTypeError (MVDataType_t expected, MVDataType_t actual) -> PluginException
 
auto InvalidParameterError (uint32_t param_key, std::string_view entity) -> PluginException
 
auto InvalidUserParameterError (const char *param_key) -> PluginException
 

Detailed Description

Exception type which contains a plug-in defined return code along with the context in which the error occurred.