@w5s/errorClassesURIErrorOn this pageURIError Alias to native globalThis.URIError The URIError object represents an error when a global URI handling function was used in a wrong way.@exampleimport { URIError } from '@w5s/error';try { throw new URIError("Hello");} catch (e) { console.log(e instanceof URIError); // true console.log(e.message); // "Hello" console.log(e.name); // "URIError" console.log(e.stack); // Stack of the error}HierarchyErrorURIErrorIndex ConstructorsconstructorPropertiesnameConstructors externalconstructornew URIError(message?: string): URIErrornew URIError(message?: string, options?: ErrorOptions): URIErrorProperties namename: URIError
Alias to native globalThis.URIError
The URIError object represents an error when a global URI handling function was used in a wrong way.