Lines Matching refs:backtrace
6 #[cfg(backtrace)]
7 use std::backtrace::Backtrace;
27 let backtrace = backtrace_if_absent!(self); in ext_context() localVariable
28 Error::from_context(context, self, backtrace) in ext_context()
87 self.ok_or_else(|| Error::from_display(context, backtrace!())) in context()
95 self.ok_or_else(|| Error::from_display(context(), backtrace!())) in with_context()
126 #[cfg(backtrace)]
127 fn backtrace(&self) -> Option<&Backtrace> { in backtrace() function
128 self.error.backtrace() in backtrace()
140 #[cfg(backtrace)]
141 fn backtrace(&self) -> Option<&Backtrace> { in backtrace() function
142 Some(self.error.backtrace()) in backtrace()