diff Resources/ErrorCodes.json @ 1579:b93c398f934d

check the size of the enumerations in the plugin engine
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 15:45:50 +0200
parents de54c19fc44d
children 357c4bb15701
line wrap: on
line diff
--- a/Resources/ErrorCodes.json	Tue Aug 25 15:33:36 2015 +0200
+++ b/Resources/ErrorCodes.json	Tue Aug 25 15:45:50 2015 +0200
@@ -1,8 +1,13 @@
 [
     {
+        "Code": -2, 
+        "Name": "Custom", 
+        "Description": "Custom error, see the attached error message"
+    }, 
+    {
         "Code": -1, 
-        "Name": "Custom", 
-        "Description": "Custom error, see the attached error message"
+        "Name": "InternalError", 
+        "Description": "Internal error"
     }, 
     {
         "Code": 0, 
@@ -12,9 +17,9 @@
     }, 
     {
         "Code": 1, 
-        "Name": "InternalError", 
-        "Description": "Internal error"
-    }, 
+        "Name": "Plugin", 
+        "Description": "Error encountered within the plugin engine"
+    },
     {
         "Code": 2, 
         "Name": "NotImplemented", 
@@ -143,10 +148,5 @@
         "Code": 25, 
         "Name": "SharedLibrary", 
         "Description": "Error while using a shared library (plugin)"
-    }, 
-    {
-        "Code": 26, 
-        "Name": "Plugin", 
-        "Description": "Error encountered inside a plugin"
     }
 ]