flo_state/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug, PartialEq)]
4pub enum Error {
5  #[error("worker gone")]
6  WorkerGone,
7  #[error("send timeout")]
8  SendTimeout,
9}
10
11pub type Result<T, E = Error> = std::result::Result<T, E>;