Lines Matching refs:ChainError
55 struct ChainError { struct
60 impl fmt::Display for ChainError { argument
66 impl core::error::Error for ChainError { implementation
73 impl ChainError { impl
155 let error = ChainError::new("ouch", None); in into_boxed_dyn_error()
156 let error = ChainError::new("whoops", Some(Box::new(error))); in into_boxed_dyn_error()
208 let error = ChainError::new("whoops", Some(Box::new(error))); in is_for_root_cause_with_initial_error_source()
280 let error = ChainError::new("ouch", None); in format_err_macro_core_error_chain()
281 let error = ChainError::new("yikes", Some(Box::new(error))); in format_err_macro_core_error_chain()
282 let error = ChainError::new("whoops", Some(Box::new(error))); in format_err_macro_core_error_chain()
705 let error = ChainError::new("root cause", None); in fmt_debug_alternate()
706 let error = ChainError::new("whoops", Some(Box::new(error))); in fmt_debug_alternate()
818 let error = ChainError::new("yikes", None); in chain_on_error_with_source()
819 let error = ChainError::new("whoops", Some(Box::new(error))); in chain_on_error_with_source()
820 let error = ChainError::new("uh oh", Some(Box::new(error))); in chain_on_error_with_source()
845 let error = ChainError::new("yikes", None); in root_cause()
846 let error = ChainError::new("whoops", Some(Box::new(error))); in root_cause()
847 let error = ChainError::new("uh oh", Some(Box::new(error))); in root_cause()