1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use thiserror::Error;

/// Possible error variants.
///
/// At the moment, there is only one kind of theatre specific error.
/// A `SendError` is used when messages have failed to reach to a mailbox.
#[derive(Error, Debug)]
pub enum TheatreError {
    #[error("Failed to send message")]
    SendError,
}