Skip to main content

luaur_require/records/
error_handler.rs

1pub trait ErrorHandler {
2    fn report_error(&mut self, message: alloc::string::String);
3}
4
5impl core::fmt::Debug for dyn ErrorHandler {
6    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
7        f.debug_struct("ErrorHandler").finish_non_exhaustive()
8    }
9}