We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8806056 commit cbe648cCopy full SHA for cbe648c
README.md
@@ -15,3 +15,14 @@ Usage
15
* $scope.$emit('hide error'); // to hide error msg
16
* $scope.$emit('show success'); // to show success msg
17
* $scope.$emit('hide success'); // to hide success msg
18
+
19
+You need to keep all your error messages in a JSON file 'errors_list.json'. e.g.
20
+```
21
+{
22
+ "INVALID_DATE" : "Please enter a valid date",
23
+ "username_not_found" : "Sorry, This username is already taken"
24
+}
25
26
27
+Uppercase error messages represent errors comming from server while lowercase error messages represent
28
+errors from client side.
0 commit comments