WebIDLpedia

WebAssembly.Exception interface

Definition

WebAssembly JavaScript Interface defines WebAssembly.Exception



[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
interface Exception {
  constructor(Tag exceptionTag, sequence<any> payload, optional ExceptionOptions options = {});
  any getArg([EnforceRange] unsigned long index);
  boolean is(Tag exceptionTag);
  readonly attribute (DOMString or undefined) stack;
};

Methods and attributes that return objects implementing WebAssembly.Exception