smartcontractkit / chainlink-starknet

MIT License
59 stars 19 forks source link

Prefix all on-chain error messages with contract/namespace #156

Open krebernisak opened 2 years ago

krebernisak commented 2 years ago

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 commented 2 years ago

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