sampr/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4/// Error type for the _sampr_ crate.
5pub enum Error {
6    /// Receiving actor has stopped before a sent message has returned a result.
7    ///
8    /// The receiving actor might or might not have started to process the message.
9    #[error("receiver has stopped")]
10    ReceiverShutdown,
11}