//! Global error handling mechanisms. Very TODO!
/// Let Malstrom handle fatal errors in the process.
/// TODO: [catch_unwind](https://doc.rust-lang.org/stable/std/panic/fn.catch_unwind.html) may be
/// the better way to do this
pubtraitMalstromFatal<T, E>: Sized + sealed::Sealed {/// Abort the computation as gracefully as possible due to a fatal non-recoverable error.
fnmalstrom_fatal(self)-> T;}impl<T, E>MalstromFatal<T, E>forResult<T, E>where
E:std::fmt::Debug + std::error::Error + Send + Sync + 'static,
{fnmalstrom_fatal(self)-> T{matchself{Ok(x)=> x,Err(e)=>{let report =eyre::Report::new(e);panic!("{report:?}")}}}}modsealed{pubtraitSealed{}impl<T, E> Sealed forResult<T, E>{}}