Lines Matching refs:VerboseError
118 ### getting more information: nom::error::VerboseError
120 The `VerboseError<I>` type accumulates more information about the chain of
125 pub struct VerboseError<I> {
126 /// List of errors accumulated by `VerboseError`, containing the affected
132 /// Error context for `VerboseError`
162 // VerboseError {
186 println!("parsed verbose: {:#?}", json::<VerboseError<&str>>(data));
194 let e = json::<VerboseError<&str>>(data).finish().err().unwrap();
195 // here we use the `convert_error` function, to transform a `VerboseError<&str>`
199 // verbose errors - `json::<VerboseError<&str>>(data)`:
213 "verbose errors - `json::<VerboseError<&str>>(data)`:\n{}",
218 Note that `VerboseError` and `convert_error` are meant as a starting point for
236 type, that provides the same chain of parser errors as `VerboseError`, but also
280 combinator used by `VerboseError<I>`: