WebAssembly.CompileError

E544639

WebAssembly.CompileError is a JavaScript error type thrown when WebAssembly module compilation fails due to invalid or malformed WebAssembly code.

All labels observed (1)

Label Occurrences
WebAssembly.CompileError canonical 5

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Error constructor
JavaScript error type
availableIn Node.js
modern web browsers
canBeCaughtWith try...catch in JavaScript
canBeConstructedWith new WebAssembly.CompileError(message)
category syntax or validation error in WebAssembly binary or text format
defaultNameValue CompileError
definedIn ECMAScript WebAssembly integration specification
errorDomain WebAssembly module validation
errorPhase compilation phase
errorSeverity fatal for the current compilation attempt
extends Error
globalObjectPropertyOf Window
globalThis
hasConstructorType function
hasProperty message
name
stack
introducedIn WebAssembly MVP
isA WebAssembly-related error
native error type
language JavaScript
namespace WebAssembly
notUsedFor linking errors
runtime execution errors
occursBefore instantiation of the WebAssembly module
partOf WebAssembly JavaScript API
prototypeInheritsFrom Error.prototype
relatedTo WebAssembly.LinkError
WebAssembly.RuntimeError
serializationBehavior can be represented as a standard Error object in logs
specifies that the WebAssembly binary does not conform to the validation rules
standardizedBy W3C WebAssembly Working Group
thrownBy JavaScript engine WebAssembly compiler
thrownWhen WebAssembly code is invalid
WebAssembly code is malformed
WebAssembly module compilation fails
typicalCause invalid section structure in WebAssembly binary
malformed WebAssembly header or magic number
type mismatch in function signatures during validation
use of unsupported or unknown WebAssembly opcode
usedBy WebAssembly.Module constructor
WebAssembly.compile
WebAssembly.compileStreaming
WebAssembly.instantiate when compiling modules

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

WebAssembly.LinkError differsFrom WebAssembly.CompileError
WebAssembly.RuntimeError differsFrom WebAssembly.CompileError
WebAssembly.instantiate throws WebAssembly.CompileError
WebAssembly.compile errorType WebAssembly.CompileError
WebAssembly.Module errorTypeOnFailure WebAssembly.CompileError