gasket 0.9.0

Staged Event-Driven Architecture (SEDA) framework
Documentation
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("operation was cancelled")]
    Cancelled,

    #[error("port is not connected")]
    NotConnected,

    #[error("error sending work unit through output port")]
    SendError,

    #[error("error receiving work unit through input port")]
    RecvError,

    #[error("can't perform action since tether to stage was dropped")]
    TetherDropped,
}