#include </data/code/userver/libraries/proto-structs/include/userver/proto-structs/exceptions.hpp>
Error writing proto struct to protobuf message.
Definition at line 38 of file exceptions.hpp.
Inheritance diagram for proto_structs::WriteError:Public Member Functions | |
| WriteError (std::string_view path, std::string_view reason) | |
| Creates error with information what protobuf message field was not correctly initialized. | |
| 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.