kanban-core 0.5.1

Core traits, errors, and result types for the kanban project management tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum CoreError {
    #[error("validation error: {0}")]
    Validation(String),
    #[error("config error: {0}")]
    Config(String),
}

pub type CoreResult<T> = Result<T, CoreError>;