exocore_core/cell/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3    #[error("Configuration error: {0}")]
4    Config(#[source] anyhow::Error),
5
6    #[error("Cell error: {0}")]
7    Cell(#[source] anyhow::Error),
8
9    #[error("Application '{0}' error: {1}")]
10    Application(String, #[source] anyhow::Error),
11
12    #[error("Key error: {0}")]
13    Key(#[from] crate::sec::keys::Error),
14
15    #[error("Node error: {0}")]
16    Node(#[source] anyhow::Error),
17
18    #[error("No directory configured in node or cell")]
19    NoDirectory,
20
21    #[error("Directory error: {0}")]
22    Directory(#[from] crate::dir::Error),
23}