GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

5 results across 6 corpora for WebAssembly.CompileError() constructor.

Developer library 5

WebAssembly

](/docs/WebAssembly/Reference/JavaScript_interface/Table) constructors. - Providing facilities to handle errors that occur in WebAssembly via the [`WebAssembly.CompileError()`](/docs/WebAssembly/Reference/JavaScript_interface/CompileError)/[`WebAssembly.LinkError()`](/docs/WebAssembly/Reference/JavaScript_interface/LinkError)/[`WebAssembly.RuntimeError()`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError

WebAssembly.Module() constructor

ns - If the parameter is not of the correct type or structure, a TypeError is thrown. - If compilation fails, the constructor rejects with a [`WebAssembly.CompileError`](/docs/WebAssembly/Reference/JavaScript_interface/CompileError). - Some browsers may throw a RangeError, as they prohibit compilation and instantiation of Wasm with large buffers on the UI thread. ## Examples ### Synchronously compiling a WebAs

WebAssembly.Instance() constructor

# Exceptions - If either of the parameters are not of the correct type or structure, a TypeError is thrown. - If the operation fails, one of [`WebAssembly.CompileError`](/docs/WebAssembly/Reference/JavaScript_interface/CompileError), [`WebAssembly.LinkError`](/docs/WebAssembly/Reference/JavaScript_interface/LinkError), or [`WebAssembly.RuntimeError`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeErro

WebAssembly.CompileError

The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. ## Constructor - [`WebAssembly.CompileError()`](/docs/WebAssembly/Reference/JavaScript_interface/CompileError/CompileError) - : Creates a new `WebAssembly.CompileError` object. ## Instance properties - WebAssembly.CompileError.prototype.message - : Error message. Inherited from Error. - WebAssembly.CompileE

WebAssembly.CompileError() constructor

The **`WebAssembly.CompileError()`** constructor creates a new WebAssembly `CompileError` object, which indicates an error during WebAssembly decoding or validation. ## Syntax ```js-nolint new WebAssembly.CompileError() new WebAssembly.CompileError(message) new WebAssembly.CompileError(message, options) new WebAssembly.CompileError(message, fileName) new WebAssembly.CompileError(message, fileName, lineNumber) ```

JSON results · Services directory