Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for WebAssembly.RuntimeError() constructor.
Developer library 6
WebAssembly
/WebAssembly/Reference/JavaScript_interface/CompileError)/[`WebAssembly.LinkError()`](/docs/WebAssembly/Reference/JavaScript_interface/LinkError)/[`WebAssembly.RuntimeError()`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError) constructors. ## Interfaces - [`WebAssembly.CompileError`](/docs/WebAssembly/Reference/JavaScript_interface/CompileError) - : Indicates an error during WebAssembly decoding or
WebAssembly.Instance() constructor
ssembly/Reference/JavaScript_interface/CompileError), [`WebAssembly.LinkError`](/docs/WebAssembly/Reference/JavaScript_interface/LinkError), or [`WebAssembly.RuntimeError`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError) are thrown, depending on the cause of the failure. - Some browsers may throw a RangeError, as they prohibit compilation and instantiation of Wasm with large buffers on the UI thread.
WebAssembly.RuntimeError
The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a [trap](https://webassembly.github.io/spec/core/intro/overview.html#trap). ## Constructor - [`WebAssembly.RuntimeError()`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError/RuntimeError) - : Creates a new `WebAssembly.RuntimeError` object. ## Instance properties - WebAssembly.RuntimeError.proto
WebAssembly.RuntimeError() constructor
The **`WebAssembly.RuntimeError()`** constructor creates a new WebAssembly `RuntimeError` object — the type that is thrown whenever WebAssembly specifies a [trap](https://webassembly.github.io/simd/core/intro/overview.html#trap). ## Syntax ```js-nolint new WebAssembly.RuntimeError() new WebAssembly.RuntimeError(message) new WebAssembly.RuntimeError(message, options) new WebAssembly.RuntimeError(message, fileName) n
Understanding WebAssembly text format
to specify that a function returning an `i32` is expected. If the callee doesn't have a matching signature (say an `f32` is returned instead), a [`WebAssembly.RuntimeError`](/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError) is thrown. So what links the `call_indirect` to the table we are calling? The answer is that there is currently only one table allowed per module instance, and that is what `call_in
WebAssembly JavaScript builtins
ing-cast) - : Throws an error if the provided value is not a string. Roughly equivalent to: ```js if (typeof obj !== "string") throw new WebAssembly.RuntimeError(); ``` - [`"wasm:js-string" "compare"`](https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md#wasmjs-string-compare) - : Compares two string values and determines their order. Returns `-1` if t