Module mozjs::error [] [src]

Functions to throw JavaScript exceptions from Rust.

Functions

throw_internal_error

Throw an InternalError with the given message.

throw_range_error

Throw a RangeError with the given message.

throw_type_error

Throw a TypeError with the given message.