clawless-core 0.6.1

Types and traits for building command-line applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

/// Errors that can occur when constructing a [`Context`]
///
/// [`Context`]: super::Context
#[derive(Debug, Error)]
pub enum ContextError {
    /// Failed to auto-detect the current working directory from the environment
    #[error("failed to detect current working directory")]
    CurrentWorkingDirectory(#[from] std::io::Error),
}