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

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
class WebAssembly.CompileError
extends Error
import { WebAssembly } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.shared_globals.d.ts";
const { CompileError } = WebAssembly;

The WebAssembly.CompileError object indicates an error during WebAssembly decoding or validation.

MDN

Constructors

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

Creates a new WebAssembly.CompileError object.