ayun-runtime 0.24.0

The RUST Framework for Web Rustceans.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use ayun_core::{traits::ErrorTrait, AnyError};
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error(transparent)]
    Any(#[from] AnyError),

    #[error("{0}")]
    Message(String),

    #[error(transparent)]
    Io(#[from] std::io::Error),
}

impl ErrorTrait for Error {}