Skip to content

Expose Result related APIs #1150

@taras

Description

@taras

For #898, we need Err and box to be exported.

TODO

  • Export Result & Document it
  • Export Ok and Document it
  • Export Err - should accept unknown error and if not instance of Error throw new Error with original value in cause

Open Questions

  • box/unbox - unbox is syncronous, what is box? is it a function that returns an operation? similar mechanics to call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions