fn throw_error(scope: &mut HandleScope, message: &str) {
    let message = String::new(scope, message).unwrap();
    let exception = Exception::error(scope, message);
    scope.throw_exception(exception);
}
/// Throws a JS Error with a specific message, caller must return immediately after it.
Throws a JS Error with a specific message, caller must return immediately after it.
Throws a JS Error with a specific message caller must return immediately after it .
fn throw_error(scope: &mut HandleScope, message: &str) {
    let message = String::new(scope, message).unwrap();
    let exception = Exception::error(scope, message);
    scope.throw_exception(exception);
}
fn throw_error ( scope : & mut HandleScope , message : & str ) { let message = String :: new ( scope , message ) . unwrap ( ) ; let exception = Exception :: error ( scope , message ) ; scope . throw_exception ( exception ) ; }
Throws a JS Error with a specific message, caller must return immediately after it.
Throws a JS Error with a specific message caller must return immediately after it .
scope
&mut HandleScope
message
&str
scope
&mut HandleScope
message
&str