Struct PatternError
pub struct PatternError { pub pos: usize, pub msg: &'static str }
A pattern parsing error.
Fields
pos: usizeThe approximate character index of where the error occurred.
msg: &'static strA message describing the error.
Trait Implementations
impl Debug for PatternError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for PatternError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for PatternError
fn description(&self) -> &str