Skip to content

Fix Error Serialization with the addition od Display on Errors #38

@benalleng

Description

@benalleng

At the moment we just stringify all errors but ideally we would want to pass across the actual error types, However until uniffi 0.30 we had to choose between readable errors or errors that could be properly type cast. Until now all of our Errors are just the strigifiied versions, however, with the new uniffi release it looks as though we can add a simple Display trait on the errors to allow them to be stringified while also passing the actual error.

We started the discussion in #36

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