Skip to main content

DOM_MARK

Constant DOM_MARK 

Source
pub const DOM_MARK: &str = "\u{1}dom:";
Expand description

Marks an error string as a DOMException carrying a WHATWG error NAME rather than one of the ECMAScript error classes. WebCrypto and the abort APIs reject with these, and the name (NotSupportedError) is not a class synth_error could otherwise recognise.