The URIError object represents an error when a global URI handling function was used in a wrong way.
URIError is a serializable object, so it can be cloned with structuredClone() or copied between Workers using postMessage().
URIError is a subclass of Error.