/// <summary> /// Calls the native V8 proxy library to create an error string for use within the V8 JavaScript environment. /// <para>Note: The error flag exists in the associated proxy object only. If the handle is passed along to another operation, only the string message will get passed.</para> /// </summary> public InternalHandle CreateError(string message, JSValueType errorType) { if (errorType >= 0) { throw new InvalidOperationException("Invalid error type."); } return(V8NetProxy.CreateError(_NativeV8EngineProxy, message, errorType)); }