Module script::dom::bindings::error

source ·
Expand description

Utilities to throw exceptions from Rust bindings.

Structs

A struct encapsulating information about a runtime script error.

Enums

DOM exceptions that can be thrown by a native DOM method.

Functions

Report a pending exception, thereby clearing it.
Set a pending exception for the given result on cx.
Throw an exception to signal that a JSObject can not be converted to a given DOM type.

Type Definitions

The return type for IDL operations that can throw DOM exceptions and return ().
The return type for IDL operations that can throw DOM exceptions.