Mercurial > hg > orthanc
comparison Resources/ErrorCodes.json @ 1643:87c77b9b3679
provision for error codes in plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Sep 2015 14:42:20 +0200 |
parents | ffd23c0104af |
children | 4fc502d469f4 |
comparison
equal
deleted
inserted
replaced
1642:0669d05b6de1 | 1643:87c77b9b3679 |
---|---|
173 { | 173 { |
174 "Code": 30, | 174 "Code": 30, |
175 "Name": "BadFont", | 175 "Name": "BadFont", |
176 "Description": "Badly formatted font file" | 176 "Description": "Badly formatted font file" |
177 }, | 177 }, |
178 | 178 { |
179 "Code": 31, | |
180 "Name": "DatabasePlugin", | |
181 "Description": "The plugin implementing a custom database back-end does not fulfill the proper interface" | |
182 }, | |
183 { | |
184 "Code": 32, | |
185 "Name": "StorageAreaPlugin", | |
186 "Description": "Error in the plugin implementing a custom storage area" | |
187 }, | |
179 | 188 |
180 | 189 |
181 | 190 |
182 /** SQLite **/ | 191 /** SQLite **/ |
183 | 192 |
476 }, | 485 }, |
477 { | 486 { |
478 "Code": 2037, | 487 "Code": 2037, |
479 "Name": "DatabaseBackendAlreadyRegistered", | 488 "Name": "DatabaseBackendAlreadyRegistered", |
480 "Description": "Another plugin has already registered a custom database back-end" | 489 "Description": "Another plugin has already registered a custom database back-end" |
481 }, | 490 }, |
482 { | 491 { |
483 "Code": 2038, | 492 "Code": 2038, |
484 "Name": "DatabasePlugin", | 493 "Name": "DatabaseNotInitialized", |
485 "Description": "The plugin implementing a custom database back-end does not fulfill the proper interface" | 494 "Description": "Plugin trying to call the database during its initialization" |
486 } | 495 } |
487 ] | 496 ] |