Searched refs:error_info (Results 1 – 4 of 4) sorted by relevance
| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | error_info.rs | 79 Ok(error_info.into()) in from_any_ref() 84 fn from(error_info: pb::ErrorInfo) -> Self { in from() 86 reason: error_info.reason, in from() 87 domain: error_info.domain, in from() 88 metadata: error_info.metadata, in from() 94 fn from(error_info: ErrorInfo) -> Self { in from() 96 reason: error_info.reason, in from() 97 domain: error_info.domain, in from() 98 metadata: error_info.metadata, in from() 117 let formatted = format!("{:?}", error_info); in gen_error_info() [all …]
|
| H A D | mod.rs | 13 mod error_info; module 15 pub use error_info::ErrorInfo;
|
| /tonic/tonic-types/src/richer_error/error_details/ |
| H A D | mod.rs | 28 pub(crate) error_info: Option<ErrorInfo>, field 163 error_info: Some(ErrorInfo::new(reason, domain, metadata)), in with_error_info() 400 pub fn error_info(&self) -> Option<&ErrorInfo> { in error_info() method 401 self.error_info.as_ref() in error_info() 569 self.error_info = Some(ErrorInfo::new(reason, domain, metadata)); in set_error_info()
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 506 if let Some(error_info) = details.error_info { in with_error_details_and_metadata() 507 conv_details.push(error_info.into_any()); in with_error_details_and_metadata() 564 ErrorDetail::ErrorInfo(error_info) => { in with_error_details_vec_and_metadata() 565 conv_details.push(error_info.into_any()); in with_error_details_vec_and_metadata() 775 details.error_info = Some(ErrorInfo::from_any_ref(any)?); in check_error_details()
|