Throw early if tryFn or catchFn are not functions