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.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.1/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.