1
2
3
4
5
6
7
8
9
10
11
use crate::matcher::ParseMatcherError;
use crate::primitives::ParsePicaError;

/// An error that can occur in this crate.
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error(transparent)]
    ParsePica(ParsePicaError),
    #[error(transparent)]
    ParseMatcher(ParseMatcherError),
}