Arguments
- expr
Expression to evaluate.
- msg_fmt
A format string passed to `sprintf`. The caught error message will be inserted via `
defaultValue to return if evaluation fails. Defaults to `NULL`.
The result of `expr`, or `default` on error. Evaluates `expr` and returns its result. If an error occurs, a formatted warning is issued and `default` is returned. internal