userver: ugrpc::FieldViolation Struct Reference
Loading...
Searching...
No Matches
ugrpc::FieldViolation Struct Reference

#include <userver/ugrpc/rich_status.hpp>

Detailed Description

Describes a single field validation error.

See also
ugrpc::BadRequest

Definition at line 236 of file rich_status.hpp.

Public Attributes

std::string field
 The field path (e.g., "user.email", "address.postal_code").
 
std::string description
 A description of why the field is invalid.
 

Member Data Documentation

◆ description

std::string ugrpc::FieldViolation::description

A description of why the field is invalid.

Definition at line 241 of file rich_status.hpp.

◆ field

std::string ugrpc::FieldViolation::field

The field path (e.g., "user.email", "address.postal_code").

Definition at line 238 of file rich_status.hpp.


The documentation for this struct was generated from the following file: