register_interpreter

Function register_interpreter 

Source
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().