Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
class WebAssembly.RuntimeError
extends Error
import { WebAssembly } from "https://deno.land/x/deno@v1.28.0/cli/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.