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