Struct parol::ParolErrorReporter
source · pub struct ParolErrorReporter {}
Expand description
Error reporter for user errors generated by the parol parser itself.
Trait Implementations§
source§impl Report for ParolErrorReporter
impl Report for ParolErrorReporter
source§fn report_user_error(err: &Error) -> Result<()>
fn report_user_error(err: &Error) -> Result<()>
Implement this method if you want to provide your own error reporting for your own error
types.
Doing so you can hook into the error reporting process. Read more
source§fn report_error<T>(err: &ParolError, file_name: T) -> Result<(), Error>
fn report_error<T>(err: &ParolError, file_name: T) -> Result<(), Error>
You don’t need to implement this method because it contains the reporting functionality for
errors from parol_runtime itself.
Auto Trait Implementations§
impl Freeze for ParolErrorReporter
impl RefUnwindSafe for ParolErrorReporter
impl Send for ParolErrorReporter
impl Sync for ParolErrorReporter
impl Unpin for ParolErrorReporter
impl UnwindSafe for ParolErrorReporter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more