Function mozjs::error::throw_internal_error [] [src]

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

Throw an InternalError with the given message.