Skip to content

Add more specific errors in the Account and Orchestrator #399

@legion2002

Description

@legion2002

Currently, we reuse generic error selectors like Unauthorized() in multiple places in the codebase, this makes it harded for offchain integrators to narrow down, what exactly caused the issue.

We can either add more specific error names, or add an argument in the generic error name to specify what caused the error.

We can benchmark quickly what consumes less gas/bytecode space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions