matchmaker/
errors.rs

1pub use anyhow::Result;
2use thiserror::Error;
3
4#[derive(Debug, Error)]
5#[non_exhaustive]
6pub enum MatchmakerError {
7    #[error("Aborted: {0}")]
8    Abort(i32),
9    #[error("Event loop closed.")]
10    EventLoopClosed,
11    #[error("Became: {0}")]
12    Become(String)
13}