URIError
make
RESCRIPT
let make: string => t
Creates a new URIError
with the provided message
.
See URIError
on MDN.
throwWithMessage
RESCRIPT
let throwWithMessage: string => 'a
Creates a new URIError
with the provided message
and throws it.
JsError.URIError.throwWithMessage("message")
is equivalent to JsError.URIError.make("message")->JsError.throw
.
See URIError
on MDN.