Skip to content

No way to access stdweb's ConversionError #39

Closed
@ASalvail

Description

@ASalvail

Most of stdweb conversion return a ConversionError when it fails. The problem with this is that the struct is kept private. Admittedly, it is exposed (but hidden) through stdweb::private, however, this is not really a fix as we would still have problems with associated types not resolving to concrete types.

My suggestion would be to define a ConversionError owned by out lib that would box over stdweb's own ConversionError. This would remove a lot of headaches due to associated type.

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