#include </data/code/userver/libraries/proto-structs/include/userver/proto-structs/exceptions.hpp>
Error reading proto struct from protobuf message.
Definition at line 28 of file exceptions.hpp.
Public Member Functions | |
ReadError (std::string_view path, std::string_view reason) | |
Creates error with information what protobuf message field was considered invalid Parameter path contains dot-separated field names from the top-level message up to erroneous field, for example, "msg.field.nested_field". | |
proto_structs::ReadError::ReadError | ( | std::string_view | path, |
std::string_view | reason ) |
Creates error with information what protobuf message field was considered invalid Parameter path contains dot-separated field names from the top-level message up to erroneous field, for example, "msg.field.nested_field".
Definition at line 9 of file exceptions.cpp.