comparison Resources/ErrorCodes.json @ 1583:9ea3d082b064

got rid of custom exceptions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 17:52:50 +0200
parents bd1889029cbb
children 334d3a92ed83
comparison
equal deleted inserted replaced
1582:bd1889029cbb 1583:9ea3d082b064
1 [ 1 [
2 /** Generic error codes **/ 2 /** Generic error codes **/
3 3
4 {
5 "Code": -2,
6 "Name": "Custom",
7 "Description": "Custom error, see the attached error message"
8 },
9 { 4 {
10 "Code": -1, 5 "Code": -1,
11 "Name": "InternalError", 6 "Name": "InternalError",
12 "Description": "Internal error" 7 "Description": "Internal error"
13 }, 8 },
421 }, 416 },
422 { 417 {
423 "Code": 2028, 418 "Code": 2028,
424 "Name": "BadJobOrdering", 419 "Name": "BadJobOrdering",
425 "Description": "Bad ordering of filters in a job" 420 "Description": "Bad ordering of filters in a job"
421 },
422 {
423 "Code": 2029,
424 "Name": "JsonToLuaTable",
425 "Description": "Cannot convert the given JSON object to a Lua table"
426 },
427 {
428 "Code": 2030,
429 "Name": "CannotCreateLua",
430 "Description": "Cannot create the Lua context"
431 },
432 {
433 "Code": 2031,
434 "Name": "CannotExecuteLua",
435 "Description": "Cannot execute a Lua command"
436 },
437 {
438 "Code": 2032,
439 "Name": "LuaAlreadyExecuted",
440 "Description": "Arguments cannot be pushed after the Lua function is executed"
441 },
442 {
443 "Code": 2033,
444 "Name": "LuaBadOutput",
445 "Description": "The Lua function does not give the expected number of outputs"
446 },
447 {
448 "Code": 2034,
449 "Name": "NotLuaPredicate",
450 "Description": "The Lua function is not a predicate (only true/false outputs allowed)"
451 },
452 {
453 "Code": 2035,
454 "Name": "LuaReturnsNoString",
455 "Description": "The Lua function does not return a string"
426 } 456 }
427 ] 457 ]