Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 10 of 10) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Derror_info.rs21 pub reason: String, field
38 reason: impl Into<String>, in new()
43 reason: reason.into(), in new()
52 self.reason.is_empty() && self.domain.is_empty() && self.metadata.is_empty() in is_empty()
86 reason: error_info.reason, in from()
96 reason: error_info.reason, in from()
/tonic/
H A Ddeny.toml22 { crate = "[email protected]", reason = "quickcheck depends on rand which depends on it" },
23 …{ crate = "[email protected]+wasi-snapshot-preview1", reason = "quickcheck depends on rand which depends…
24 { crate = "[email protected]", reason = "aws-lc-sys depends on bindgen which depends on it" },
25 { crate = "[email protected]", reason = "protox depends on miette wich depends on it" },
H A DCONTRIBUTING.md370 with the appropriate reason to keep the conversation flow concise and relevant.
H A DCHANGELOG.md280 * **tonic:** Expose h2 error instead of reason ([#883](https://github.com/hyperium/tonic/issues/883…
/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs158 reason: impl Into<String>, in with_error_info()
163 error_info: Some(ErrorInfo::new(reason, domain, metadata)), in with_error_info()
565 reason: impl Into<String>, in set_error_info()
569 self.error_info = Some(ErrorInfo::new(reason, domain, metadata)); in set_error_info()
/tonic/interop/data/
H A DREADME.md7 To regenerate certificates for some reason, do the following:
/tonic/tonic-types/proto/
H A Derror_details.proto93 // { "reason": "API_DISABLED"
106 // { "reason": "STOCKOUT"
114 // The reason of the error. This is a constant value that identifies the
118 string reason = 1; field
120 // The logical grouping to which the "reason" belongs. The error domain
/tonic/tonic/src/
H A Dstatus.rs372 match err.reason() { in code_from_h2()
392 let reason = match self.code { in to_h2_error() localVariable
397 reason.into() in to_h2_error()
940 assert_eq!(source.reason(), Some(h2::Reason::CANCEL)); in from_error_h2()
949 assert_eq!(err.reason(), Some(h2::Reason::CANCEL)); in to_h2_error()
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs127 pub reason: ::prost::alloc::string::String, field
/tonic/examples/proto/googleapis/google/api/
H A Dhttp.proto295 // 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
303 // The path variables **must not** capture the leading "/" character. The reason