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

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

Detailed Description

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

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

Definition at line 46 of file exceptions.hpp.

+ Inheritance diagram for proto_structs::AnyUnpackError:

Public Member Functions

 AnyUnpackError (std::string_view message_name)
 Creates error when trying to unpack protobuf message message_name.
 

Constructor & Destructor Documentation

◆ AnyUnpackError()

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

Creates error when trying to unpack protobuf message message_name.

Definition at line 27 of file exceptions.cpp.


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