Function setPushErrorURI

  • Sets the URI for the server-push related error.

    Parameters

    • code: number

      the error code

    • Optional uri: string

      the URI

    Returns void

  • Sets the URI for the server-push related errors specified in a map.

    Parameters

    • errors: Record<string | number, string>

      A map of errors where the key is the error code (int), while the value is the URI (String).

    Returns void