Home
last modified time | relevance | path

Searched refs:ErrorDetails (Results 1 – 6 of 6) sorted by relevance

/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs17 pub struct ErrorDetails { struct
49 impl ErrorDetails { argument
75 ErrorDetails { in with_retry_info()
97 ErrorDetails { in with_debug_info()
117 ErrorDetails { in with_quota_failure()
137 ErrorDetails { in with_quota_failure_violation()
162 ErrorDetails { in with_error_info()
190 ErrorDetails { in with_precondition_failure()
216 ErrorDetails { in with_precondition_failure_violation()
240 ErrorDetails { in with_bad_request()
[all …]
/tonic/tonic-types/src/richer_error/
H A Dmod.rs13 pub use error_details::{vec::ErrorDetail, ErrorDetails};
75 details: ErrorDetails, in with_error_details_and_metadata() argument
97 details: ErrorDetails, in with_error_details() argument
175 fn check_error_details(&self) -> Result<ErrorDetails, DecodeError>; in check_error_details() argument
200 fn get_error_details(&self) -> ErrorDetails; in get_error_details() argument
487 details: ErrorDetails, in with_error_details_and_metadata() argument
612 fn get_error_details(&self) -> ErrorDetails { in get_error_details() argument
704 fn get_error_details(&self) -> ErrorDetails; in get_error_details() argument
761 let mut details = ErrorDetails::new(); in check_error_details()
802 fn get_error_details(&self) -> ErrorDetails { in get_error_details() argument
[all …]
/tonic/tonic-types/
H A DREADME.md26 ### Server Side: Generating [`tonic::Status`] with an [`ErrorDetails`] struct
30 use tonic_types::{ErrorDetails, StatusExt};
35 // Create empty `ErrorDetails` struct
36 let mut err_details = ErrorDetails::new();
72 ### Client Side: Extracting an [`ErrorDetails`] struct from [`tonic::Status`]
103 Multiple examples are provided at the [`ErrorDetails`] doc. Instructions about
130 [`ErrorDetails`]: https://docs.rs/tonic-types/latest/tonic_types/struct.ErrorDetails.html
/tonic/examples/src/richer-error/
H A Dserver.rs2 use tonic_types::{ErrorDetails, StatusExt};
26 let mut err_details = ErrorDetails::new(); in say_hello()
/tonic/tonic-types/src/
H A Dlib.rs180 BadRequest, DebugInfo, ErrorDetail, ErrorDetails, ErrorInfo, FieldViolation, Help, HelpLink,
/tonic/examples/
H A DREADME.md163 ### Client using the `ErrorDetails` struct
175 ### Server using the `ErrorDetails` struct