Macro pear::parse_error
source · macro_rules! parse_error { ([$info:expr; $input:expr; $marker:expr; $T:ty] $err:expr) => { ... }; ([$n:expr; $i:expr; $m:expr; $T:ty] $fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Returns an Err(ParseError::new($e))
. Can used like format!
as well.