You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up on #535 where constant error messages were introduced. The suggestion is also to separate these errors logically into appropriate modules. This will allow selecting the right error for a given scope of the code and ensuring that "foreign" errors are not used where they are not intended to be used.
Some ideas of such modues:
evm module: e.g. errors::evm::ERR_OUT_OF_GAS;
json module: e.g. errors:json::ERR_NOT_A_JSON_TYPE;
etc.
The text was updated successfully, but these errors were encountered:
This is a follow-up on #535 where constant error messages were introduced. The suggestion is also to separate these errors logically into appropriate modules. This will allow selecting the right error for a given scope of the code and ensuring that "foreign" errors are not used where they are not intended to be used.
Some ideas of such modues:
errors::evm::ERR_OUT_OF_GAS
;errors:json::ERR_NOT_A_JSON_TYPE
;The text was updated successfully, but these errors were encountered: