Function mozjs::error::throw_type_error

source ·
pub unsafe fn throw_type_error(cx: *mut JSContext, error: &str)
Expand description

Throw a TypeError with the given message.