1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/// Error type that will be returned by servers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Error {
/// The identifier of this error, can be used as an i18n key.
#[prost(string, tag="1")]
pub identifier: ::prost::alloc::string::String,
/// A human readable message in English, explaining why the error occured.
#[prost(string, tag="2")]
pub human_message: ::prost::alloc::string::String,
/// Details about this message. This is dependent on the error identifier.
#[prost(bytes="bytes", tag="3")]
pub details: ::prost::bytes::Bytes,
}
/// Information that can be used by clients for retrying requests.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RetryInfo {
/// How many seconds to wait before retrying the request.
#[prost(uint32, tag="1")]
pub retry_after: u32,
}