Skip to main content

tasks_tool/registry/
task_error.rs

1//! Errors returned by task validation and persistence operations.
2
3#[derive(Debug, thiserror::Error)]
4pub enum TaskError {
5    #[error("task not found")]
6    NotFound,
7    #[error("invalid task: {0}")]
8    Invalid(String),
9    #[error("task storage error: {0}")]
10    Storage(String),
11}