Skip to content

FR: Error struct to wrap Vec<Cause> #25

@meskill

Description

@meskill

Based on the attempt to migrate to the new version of tailcall-valid: tailcallhq/tailcall#3167

In the commit f1ed850 the Error type was removed completely and the Valid type now corresponds to Result<A, Vec<Cause<E, T>> where the Err part is not implementing StdError. This significantly complicates the usage of to_result method and working with errors from Valid.

Provide new wrapper or rollback removal of the Error to simplify the usage of the library.

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