Skip to content

Namespace error constructors #14

Description

@FlorianRappl

Description

Add DOM-style projections for the standard WebAssembly error constructors: CompileError, LinkError, and RuntimeError.

Background

Right now, failures are surfaced through .NET exceptions and runtime behavior. Providing these standard JS error constructors would make the package feel more like the browser WebAssembly API and would help consumers write code that matches common WebAssembly error-handling patterns.

Specification

WebAssembly JavaScript API: WebAssembly.CompileError, WebAssembly.LinkError, and WebAssembly.RuntimeError

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions