Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.shared_globals.d.ts>WebAssembly.RuntimeError

A modern runtime for JavaScript and TypeScript.
Latest
class WebAssembly.RuntimeError
extends Error
import { WebAssembly } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.shared_globals.d.ts";
const { RuntimeError } = WebAssembly;

The WebAssembly.RuntimeError object is the error type that is thrown whenever WebAssembly specifies a trap.

MDN

Constructors

new
RuntimeError(message?: string, options?: ErrorOptions)

Creates a new WebAssembly.RuntimeError object.