Mercurial > hg > orthanc-stone
comparison Framework/StoneException.h @ 307:be2660b6e40a am-callable-and-promise
wip: commands + status update
author | am@osimis.io |
---|---|
date | Tue, 25 Sep 2018 15:14:53 +0200 |
parents | 1992f7b8563e |
children | 3a4ca166fafa |
comparison
equal
deleted
inserted
replaced
304:6c22e0506587 | 307:be2660b6e40a |
---|---|
30 { | 30 { |
31 ErrorCode_Success, | 31 ErrorCode_Success, |
32 ErrorCode_OrthancError, // this StoneException is actually an OrthancException with an Orthanc error code | 32 ErrorCode_OrthancError, // this StoneException is actually an OrthancException with an Orthanc error code |
33 ErrorCode_ApplicationException, // this StoneException is specific to an application (and should have its own internal error code) | 33 ErrorCode_ApplicationException, // this StoneException is specific to an application (and should have its own internal error code) |
34 ErrorCode_NotImplemented, // case not implemented | 34 ErrorCode_NotImplemented, // case not implemented |
35 | |
35 ErrorCode_PromiseSingleSuccessHandler, // a Promise can only have a single success handler | 36 ErrorCode_PromiseSingleSuccessHandler, // a Promise can only have a single success handler |
36 ErrorCode_PromiseSingleFailureHandler, // a Promise can only have a single failure handler | 37 ErrorCode_PromiseSingleFailureHandler, // a Promise can only have a single failure handler |
37 | 38 |
39 ErrorCode_CommandJsonInvalidFormat, | |
38 ErrorCode_Last | 40 ErrorCode_Last |
39 }; | 41 }; |
40 | 42 |
41 | 43 |
42 | 44 |