pub fn dom_exception(args: &[Value]) -> ValueExpand description
new DOMException(message, name).
The class node’s AbortSignal.reason rejects with. Its name is the second
ARGUMENT (defaulting to "Error"), not the class name, and its code is the
legacy number that name maps to.