summaryrefslogtreecommitdiffstats
path: root/etc/ExceptionConfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ExceptionConfig.json')
-rw-r--r--etc/ExceptionConfig.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/ExceptionConfig.json b/etc/ExceptionConfig.json
new file mode 100644
index 00000000..1345cdcd
--- /dev/null
+++ b/etc/ExceptionConfig.json
@@ -0,0 +1,42 @@
+{
+ "code" : {
+ "200" :
+ [
+ {
+ "Reason" : "OK",
+ "ErrorCode": ["OK","Event message has been accepted"]
+ }
+ ],
+
+ "204": [
+ {
+ "Reason" : "Accepted",
+ "ErrorCode": ["OK","Event message has been accepted"]
+ }
+ ],
+ "400" :
+ [
+ {
+ "Reason" : "BadParameter",
+ "ErrorCode": ["SVC0002","Bad Parameter" ]
+ },
+
+ {
+ "Reason" : "Error",
+ "ErrorCode": ["SVC2000","General Service Error with details"]
+ },
+ {
+ "Reason" : "exceeded",
+ "ErrorCode": ["POL9003","Message content size exceeded" ]
+ }
+
+ ],
+ "401" :
+ [
+ {
+ "Reason" : "Unauthorized",
+ "ErrorCode": ["POL2000","Unauthorized user"]
+ }
+ ]
+ }
+} \ No newline at end of file