If the tryer function has no params, then they are optional.
Parameter type for the tryer function.
Return type for the tryer function.
Function to run inside the try {}.
Depth level for output to the console.
Instance used to log messages and debugging info.
Instance used to work with paths and files.
Optionalparams: NoInfer<T_Params>Parameters passed to the tryer function, if any.
Optionalcallback: Used to handle the error. Note: if the callback does not throw or exit, the caught error is re-thrown.
The tryer function’s return.
If the tryer function has params, then they are required.
Optionalcallback:
Runs a function, with parameters as applicable, and catches (& handles) anything thrown.
Overloaded for better param typing.
Throws
Any errors thrown in the
tryerfunction.Since
0.1.0-alpha