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.