Function factory that generates versions of functions wrapped in try.

wrap_in_try(fun, ...)

Arguments

fun

A function to be wrapped in a try statement.

...

Additional arguments passed to the previous argument fun.