Skip to main content

kanban_core/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum CoreError {
5    #[error("validation error: {0}")]
6    Validation(String),
7    #[error("config error: {0}")]
8    Config(String),
9}
10
11pub type CoreResult<T> = Result<T, CoreError>;