Skip to content

Introduce an exception type for the AST Json importer and use as replacements for solAsserts #15854

Open
@matheusaaguiar

Description

@matheusaaguiar

Suggested here: #15463 (comment)

The AST Json Importer has many instances of solAssert being used for validation/error messaging. As suggested in the linked comment, it would be better to have a specific exception for those cases.
Also, note that currently exceptions are not caught in standard JSON mode and that needs to be adjusted as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low effortThere is not much implementation work to be done. The task is very easy or tiny.low impactChanges are not very noticeable or potential benefits are limited.nice to haveWe don’t see a good reason not to have it but won’t go out of our way to implement it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions