Wraps a synchronous function with error handling logic.
The function to wrap.
Optional
A new function that wraps the original function with error handling.
Rest
Generated using TypeDoc
Wraps a synchronous function with error handling logic.