comparison 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
comparison
equal deleted inserted replaced
1578:09715095fc53 1579:b93c398f934d
1 [ 1 [
2 { 2 {
3 "Code": -1, 3 "Code": -2,
4 "Name": "Custom", 4 "Name": "Custom",
5 "Description": "Custom error, see the attached error message" 5 "Description": "Custom error, see the attached error message"
6 },
7 {
8 "Code": -1,
9 "Name": "InternalError",
10 "Description": "Internal error"
6 }, 11 },
7 { 12 {
8 "Code": 0, 13 "Code": 0,
9 "HttpStatus": 200, 14 "HttpStatus": 200,
10 "Name": "Success", 15 "Name": "Success",
11 "Description": "Success" 16 "Description": "Success"
12 }, 17 },
13 { 18 {
14 "Code": 1, 19 "Code": 1,
15 "Name": "InternalError", 20 "Name": "Plugin",
16 "Description": "Internal error" 21 "Description": "Error encountered within the plugin engine"
17 }, 22 },
18 { 23 {
19 "Code": 2, 24 "Code": 2,
20 "Name": "NotImplemented", 25 "Name": "NotImplemented",
21 "Description": "Not implemented yet" 26 "Description": "Not implemented yet"
22 }, 27 },
141 }, 146 },
142 { 147 {
143 "Code": 25, 148 "Code": 25,
144 "Name": "SharedLibrary", 149 "Name": "SharedLibrary",
145 "Description": "Error while using a shared library (plugin)" 150 "Description": "Error while using a shared library (plugin)"
146 },
147 {
148 "Code": 26,
149 "Name": "Plugin",
150 "Description": "Error encountered inside a plugin"
151 } 151 }
152 ] 152 ]