• Create a callback that will reject the given Request with a reason.

    Parameters

    Returns ((err: any) => void)

      • (err: any): void
      • Parameters

        • err: any

        Returns void