Skip to main content

sift_core/search/emit/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum ExecutionError {
5    #[error("invalid max-count: 0 matches requested")]
6    InvalidMaxCount,
7
8    #[error("IO error: {0}")]
9    Io(#[from] std::io::Error),
10
11    #[error("ignore walk error: {0}")]
12    Ignore(#[from] ignore::Error),
13}