Function mozjs::error::throw_range_error [] [src]

pub unsafe fn throw_range_error(cx: *mut JSContext, error: &str)

Throw a RangeError with the given message.