WebAssembly.CompileError

E544639

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

Jump to: Statements Referenced by

Statements (46)

Predicate Object
instanceOf Error constructor
JavaScript error type
availableIn Node.js NERFINISHED
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 NERFINISHED
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 NERFINISHED
isA WebAssembly-related error
native error type
language JavaScript NERFINISHED
namespace WebAssembly NERFINISHED
notUsedFor linking errors
runtime execution errors
occursBefore instantiation of the WebAssembly module
partOf WebAssembly JavaScript API NERFINISHED
prototypeInheritsFrom Error.prototype
relatedTo WebAssembly.LinkError NERFINISHED
WebAssembly.RuntimeError NERFINISHED
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 NERFINISHED
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 NERFINISHED
WebAssembly.compileStreaming
WebAssembly.instantiate when compiling modules

Referenced by (3)

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