Lines Matching refs:error
6 use crate::error::ErrorKind;
7 use crate::error::ParseError;
19 /// due to an OOM error.
28 /// This stops on [`Err::Error`] and returns the results that were accumulated. To instead chain an error up, see
35 /// return an error, to prevent going into an infinite loop
38 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
82 /// This stops on [`Err::Error`] if there is at least one result, and returns the results that were accumulated. To instead chain an error up,
89 /// (like `alpha0` or `digit0`), `many1` will return an error,
93 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
146 /// `f` keeps going so long as `g` produces [`Err::Error`]. To instead chain an error up, see [`cut`][crate::combinator::cut].
149 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
204 /// This stops when either parser returns [`Err::Error`] and returns the results that were accumulated. To instead chain an error up, see
212 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
279 /// This stops when either parser returns [`Err::Error`] and returns the results that were accumulated. To instead chain an error up, see
286 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
351 /// This stops before `n` when the parser returns [`Err::Error`] and returns the results that were accumulated. To instead chain an error up, see
360 /// (like `alpha0` or `digit0`), `many1` will return an error,
364 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
429 /// This stops on [`Err::Error`]. To instead chain an error up, see
436 /// return an error, to prevent going into an infinite loop
439 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
486 /// This stops on [`Err::Error`] if there is at least one result. To instead chain an error up,
493 /// (like `alpha0` or `digit0`), `many1` will return an error,
497 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
553 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
609 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
656 /// This stops on [`Err::Error`]. To instead chain an error up, see
666 /// return an error, to prevent going into an infinite loop
669 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
731 /// This stops on [`Err::Error`] if there is at least one result. To instead chain an error up,
741 /// (like `alpha0` or `digit0`), `many1` will return an error,
745 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
815 /// This stops before `n` when the parser returns [`Err::Error`]. To instead chain an error up, see
827 /// (like `alpha0` or `digit0`), `many1` will return an error,
831 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
905 /// `length_data` will return an error.
909 /// # use nom::{Err, error::ErrorKind, Needed, IResult};
948 /// `length_value` will return an error.
953 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
1001 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};