chainlink-starknet icon indicating copy to clipboard operation
chainlink-starknet copied to clipboard

Prefix all on-chain error messages with contract/namespace

Open krebernisak opened this issue 3 years ago • 1 comments

We should prefix all error messages with contract/namespace like so:

    with_attr error_message("Aggregator: Total amount due exceeds the balance"):

Originally posted by @krebernisak in https://github.com/smartcontractkit/chainlink-starknet/pull/146#discussion_r989988962

krebernisak avatar Oct 07 '22 11:10 krebernisak

We should also standardise the error language: https://github.com/OpenZeppelin/cairo-contracts/issues/488

krebernisak avatar Oct 07 '22 11:10 krebernisak