Function setErrorURI

  • Sets the URI for the specified error.

    Parameters

    • code: number

      the error code

    • Optional uri: string

      the URI

    Returns void

  • Sets the URI for the 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