class WebAssembly.RuntimeError
extends Error

The WebAssembly.RuntimeError object is the error type that is thrown whenever WebAssembly specifies a trap.

MDN

Constructors

new
RuntimeError()

Creates a new WebAssembly.RuntimeError object.