• Runs a callback function and catches any errors that occur.

    It is the same as tryget, except it does not return anything.

    Parameters

    • callbackfn: () => any

      The callback function to run.

    Returns void