pub fn default_error(ui: UiRef, err_msg: String)
Default error function
Default function for [ui.on_error] Shows an error message and exits.