Lines Matching refs:error
6 use crate::error::ErrorKind;
7 use crate::error::ParseError;
26 /// # use nom::{Err,error::ErrorKind, Needed, IResult};
37 /// // the first parser returns an error, so alt tries the second one
40 /// // both parsers failed, and with the default error type, alt will return the last error
45 /// With a custom error type, it is possible to have alt return the error of the parser
68 /// # use nom::{Err,error::{Error, ErrorKind}, Needed, IResult};
90 /// # use nom::{Err, error::{Error, ErrorKind}, IResult};