Replaced the string error messages with specific and relevant error codes in backend.
Description
Replaced the string error messages with specific and relevant error codes in backend. It will lead to less gas cost when deployed on blockchain as storing strings on blockchain will be costlier
Fixes # 47
Backend minor functionality change
Please mark the options that are relevant.
-
Updated UI/UX -
Improved the business logic of code -
Added new feature -
Other
Checklist:
-
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
My changes generate no new warnings