pub type Result<T> = Result<T, Error>;
A specialized Result type for Errors during the scanning, compiling or validation phase.
Result
Errors
pub enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value