Error Codes and Messages - saayam-for-all/docs GitHub Wiki
In Saayam applications - web app and mobile app - all messages - whether it is a positive or negative/error message, should have this format: SAAYAM-:. E.g. SAAYAM-1201: New help request creation is successful. Request with ID has been created.
All end user facing messages need to support I18N (Internationalization) and L10N (Localization)
We divide the error/message codes into following ranges:
-
Front end client codes e.g 0-999
- web app codes 0-499
- Positive messages 0-249
- Negative messages 250-499
- mobile app codes - 500 - 999
- web app codes 0-499
-
Backend messages codes e.g 1000-5000
-
Lambda function codes 1000-1199
-
Volunteer micro service codes 1200-1399
-
Request micro service codes 1400-1599