Add an owned string entry for CustomError.
This commit is contained in:
@@ -6,6 +6,7 @@ pub(crate) type Res<T, U> = IResult<T, U, CustomError<T>>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum CustomError<I> {
|
||||
Text(String),
|
||||
MyError(MyError<&'static str>),
|
||||
Nom(I, ErrorKind),
|
||||
IO(std::io::Error),
|
||||
|
||||
Reference in New Issue
Block a user