• Returns a Promise.reject(), but also registers a dummy .catch() handler so it doesn't count as an uncaught promise rejection in the runtime.

    Type Parameters

    • T

    Parameters

    • err: unknown

    Returns Promise<T>

Generated using TypeDoc