#include <userver/ugrpc/rich_status.hpp>
Describes preconditions that failed during request processing.
For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.
Definition at line 223 of file rich_status.hpp.
Public Member Functions | |
| google::rpc::PreconditionFailure | ToGoogleErrorDetail () const & |
| google::rpc::PreconditionFailure | ToGoogleErrorDetail () && |
Static Public Member Functions | |
| static std::optional< PreconditionFailure > | TryUnpack (const google::protobuf::Any &any) |
Public Attributes | |
| std::vector< PreconditionViolation > | violations |
| The list of precondition violations. | |
| std::vector<PreconditionViolation> ugrpc::PreconditionFailure::violations |
The list of precondition violations.
Definition at line 225 of file rich_status.hpp.