Mercurial > hg > orthanc
comparison Core/Enumerations.h @ 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 |
---|---|
70 ErrorCode_CorruptedFile = 20 /*!< Corrupted file (inconsistent MD5 hash) */, | 70 ErrorCode_CorruptedFile = 20 /*!< Corrupted file (inconsistent MD5 hash) */, |
71 ErrorCode_InexistentTag = 21 /*!< Inexistent tag */, | 71 ErrorCode_InexistentTag = 21 /*!< Inexistent tag */, |
72 ErrorCode_ReadOnly = 22 /*!< Cannot modify a read-only data structure */, | 72 ErrorCode_ReadOnly = 22 /*!< Cannot modify a read-only data structure */, |
73 ErrorCode_IncompatibleImageFormat = 23 /*!< Incompatible format of the images */, | 73 ErrorCode_IncompatibleImageFormat = 23 /*!< Incompatible format of the images */, |
74 ErrorCode_IncompatibleImageSize = 24 /*!< Incompatible size of the images */, | 74 ErrorCode_IncompatibleImageSize = 24 /*!< Incompatible size of the images */, |
75 ErrorCode_SharedLibrary = 25 /*!< Error while using a shared library (plugin) */ | 75 ErrorCode_SharedLibrary = 25 /*!< Error while using a shared library (plugin) */, |
76 ErrorCode_UnknownPluginService = 26 /*!< Plugin invoking an unknown service */ | |
76 }; | 77 }; |
77 | 78 |
78 enum LogLevel | 79 enum LogLevel |
79 { | 80 { |
80 LogLevel_Error, | 81 LogLevel_Error, |