Skip to content

setItem can throw an exception but there is no error handling in this library #19

Description

@bagrounds

https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem#exceptions

Shouldn't we do a try/catch in the FFI and return an Either with an error message if an exception was thrown?

storage.setItem(key, value);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions