pub type ParseError = Error<String>;
pub struct ParseError { pub input: String, pub code: ErrorKind, }
input: String
position of the error in the input data
code: ErrorKind
nom error code