Skip to main content

ruest/core/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum CoreError {
5    #[error("module configuration failed: {0}")]
6    ModuleConfig(String),
7
8    #[error("bootstrap failed: {0}")]
9    Bootstrap(String),
10
11    #[error(transparent)]
12    Di(#[from] crate::di::DiError),
13}