Mercurial > hg > orthanc
comparison Resources/ErrorCodes.json @ 1581:357c4bb15701
Plugins have access to explicit error codes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 16:18:37 +0200 |
parents | b93c398f934d |
children | bd1889029cbb |
comparison
equal
deleted
inserted
replaced
1580:bf502300c52e | 1581:357c4bb15701 |
---|---|
119 "Description": "The file storage is full" | 119 "Description": "The file storage is full" |
120 }, | 120 }, |
121 { | 121 { |
122 "Code": 20, | 122 "Code": 20, |
123 "Name": "CorruptedFile", | 123 "Name": "CorruptedFile", |
124 "Description": "Corrupted file (inconsistent MD5 hash)" | 124 "Description": "Corrupted file (e.g. inconsistent MD5 hash)" |
125 }, | 125 }, |
126 { | 126 { |
127 "Code": 21, | 127 "Code": 21, |
128 "HttpStatus": 404, | 128 "HttpStatus": 404, |
129 "Name": "InexistentTag", | 129 "Name": "InexistentTag", |
146 }, | 146 }, |
147 { | 147 { |
148 "Code": 25, | 148 "Code": 25, |
149 "Name": "SharedLibrary", | 149 "Name": "SharedLibrary", |
150 "Description": "Error while using a shared library (plugin)" | 150 "Description": "Error while using a shared library (plugin)" |
151 }, | |
152 { | |
153 "Code": 26, | |
154 "Name": "UnknownPluginService", | |
155 "Description": "Plugin invoking an unknown service" | |
151 } | 156 } |
152 ] | 157 ] |