ORE Studio 0.0.4
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
error_response Struct Referencefinal

Error response message sent when request processing fails. More...

#include <error_protocol.hpp>

Collaboration diagram for error_response:
Collaboration graph

Static Public Member Functions

static std::vector< std::byte > serialize (error_response v)
 Serialize to frame payload.
 
static std::expected< error_response, error_code > deserialize (std::span< const std::byte > data)
 Deserialize from frame payload.
 

Public Attributes

error_code code
 
std::string message
 

Detailed Description

Error response message sent when request processing fails.