Skip to content

Introduce #[error] attribute for structs and enums #1341

@cburgdorf

Description

@cburgdorf

We should allow putting #[error] on structs and enums and then generate a bunch of trait implementations so that the structs or enums can be used with revert(..) and encode them the same way Solidity does

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