1
2
3
4
5
6
7
8
9
10
11
use std::fmt::Debug;

use thiserror::Error;

/// General error type in the Module System.
#[derive(Debug, Error)]
pub enum Error {
    /// Custom error thrown by a module.
    #[error(transparent)]
    ModuleError(#[from] anyhow::Error),
}