Skip to content

Improve custom errors #527

@zemse

Description

@zemse

https://github.com/erc7824/nitrolite/blob/1850dff6589f50c27fd02414c1b797dd3030a2bc/contract/src/Custody.sol#L619

Before:

error InsufficientBalance(uint256 available, uint256 required);

After

error InsufficientBalance(address account, uint256 available, uint256 required);

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