WebAssembly.CompileError - Web documentation
class WebAssembly.CompileError
extends Error

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.