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

#include </data/code/userver/libraries/proto-structs/include/userver/proto-structs/exceptions.hpp>

Detailed Description

Failed to pack struct's compatible message to proto_structs::Any underlying storage.

Note
This exception is thrown after struct to protobuf message conversion.

Definition at line 38 of file exceptions.hpp.

+ Inheritance diagram for proto_structs::AnyPackError:

Public Member Functions

 AnyPackError (std::string_view message_name)
 Creates error when trying to pack protobuf message message_name.
 

Constructor & Destructor Documentation

◆ AnyPackError()

proto_structs::AnyPackError::AnyPackError ( std::string_view  message_name)
explicit

Creates error when trying to pack protobuf message message_name.

Definition at line 24 of file exceptions.cpp.


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