#include </data/code/userver/libraries/proto-structs/include/userver/proto-structs/exceptions.hpp>
Conversion error Exception is thrown if protobuf message field can't be converted to/from struct field.
Definition at line 22 of file exceptions.hpp.
Public Member Functions | |
ConversionError (std::string_view message_name, std::string_view field_name, std::string_view reason) | |
Creates error signalling that conversion failed for field field_name of message message_name. | |
proto_structs::ConversionError::ConversionError | ( | std::string_view | message_name, |
std::string_view | field_name, | ||
std::string_view | reason | ||
) |
Creates error signalling that conversion failed for field field_name of message message_name.
Definition at line 9 of file exceptions.cpp.