clawless_core/context/error.rs
1use thiserror::Error;
2
3/// Errors that can occur when constructing a [`Context`]
4///
5/// [`Context`]: super::Context
6#[derive(Debug, Error)]
7pub enum ContextError {
8 /// Failed to auto-detect the current working directory from the environment
9 #[error("failed to detect current working directory")]
10 CurrentWorkingDirectory(#[from] std::io::Error),
11}