1
/// All errors that kludgine-app can return.
2
#[derive(thiserror::Error, Debug)]
3
pub enum Error {
4
    /// An error occurred while communicating internally between windows.
5
    #[error("error sending a WindowMessage to a Window: {0}")]
6
    InternalWindowMessageSend(String),
7

            
8
    /// An error from `kludgine-core` occurred.
9
    #[error("kludgine-core error: {0}")]
10
    Core(#[from] kludgine_core::Error),
11

            
12
    /// An error from user code arose.
13
    #[error("other error: {0}")]
14
    Other(#[from] anyhow::Error),
15
}