userver: proto_structs::ConversionError Class Reference
Loading...
Searching...
No Matches
proto_structs::ConversionError Class Reference

#include </home/antonyzhilin/arcadia/taxi/uservices/userver/libraries/proto-structs/include/userver/proto-structs/exceptions.hpp>

Detailed Description

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.

+ Inheritance diagram for proto_structs::ConversionError:

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.
 

Constructor & Destructor Documentation

◆ ConversionError()

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.


The documentation for this class was generated from the following files: