Calls the given function, catches any thrown error into an Err, and wraps the returned value with an Ok if nothing goes wrong.
Calls the given function, catches any thrown error into an Err, and wraps the returned value with an Ok if nothing goes wrong.