Wrap the supplied function, returning a function that is the equivalent of calling it with catcher.
Returned function will preserve up to 10 overload signatures, adding the return type of the caughtValue (or undefined if not provided).
caughtValue
undefined
Generated using TypeDoc
Wrap the supplied function, returning a function that is the equivalent of calling it with catcher.
Returned function will preserve up to 10 overload signatures, adding the return type of the
caughtValue
(orundefined
if not provided).