pub fn register_interpreter(
f: impl Fn(&InterpretedError<'_>) -> Option<String> + 'static + Send + Sync,
)Expand description
Register a closure that translates an InterpretedError into a String.
The closure is called by interpret().
pub fn register_interpreter(
f: impl Fn(&InterpretedError<'_>) -> Option<String> + 'static + Send + Sync,
)Register a closure that translates an InterpretedError into a String.
The closure is called by interpret().