task_motel/
error.rs

1#![allow(missing_docs)]
2
3pub type TmResult<T = ()> = Result<T, String>;
4
5/// An error that is thrown from within a managed task
6pub trait TaskError {
7    fn is_recoverable(&self) -> bool;
8}