possibly

docblock
possibly(f, otherwise = nothing)

Create a modified version of the function f such that it returns otherwise when f(x) throws an error.