Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Improve error handling #1

@kianenigma

Description

@kianenigma

Currently, there are two panic!s and one except() in the Rust code. They should be removed. Consequently, the entire interface could -> should be replaced with returning Result<T, JsVal>.

https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-js-imports/catch.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions