Mercurial > hg > orthanc
comparison Core/Enumerations.h @ 1578:09715095fc53
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 15:33:36 +0200 |
parents | 7aac0cddd42e |
children | b93c398f934d |
comparison
equal
deleted
inserted
replaced
1577:7aac0cddd42e | 1578:09715095fc53 |
---|---|
39 Endianness_Unknown, | 39 Endianness_Unknown, |
40 Endianness_Big, | 40 Endianness_Big, |
41 Endianness_Little | 41 Endianness_Little |
42 }; | 42 }; |
43 | 43 |
44 // This enumeration is autogenerated by the script | |
45 // "Resources/GenerateErrorCodes.py" | |
44 enum ErrorCode | 46 enum ErrorCode |
45 { | 47 { |
46 ErrorCode_Custom = -1, | 48 ErrorCode_Custom = -1 /*!< Custom error, see the attached error message */, |
47 ErrorCode_Success = 0, | 49 ErrorCode_Success = 0 /*!< Success */, |
48 ErrorCode_InternalError = 1, | 50 ErrorCode_InternalError = 1 /*!< Internal error */, |
49 ErrorCode_NotImplemented = 2, | 51 ErrorCode_NotImplemented = 2 /*!< Not implemented yet */, |
50 ErrorCode_ParameterOutOfRange = 3, | 52 ErrorCode_ParameterOutOfRange = 3 /*!< Parameter out of range */, |
51 ErrorCode_NotEnoughMemory = 4, | 53 ErrorCode_NotEnoughMemory = 4 /*!< Not enough memory */, |
52 ErrorCode_BadParameterType = 5, | 54 ErrorCode_BadParameterType = 5 /*!< Bad type for a parameter */, |
53 ErrorCode_BadSequenceOfCalls = 6, | 55 ErrorCode_BadSequenceOfCalls = 6 /*!< Bad sequence of calls */, |
54 ErrorCode_InexistentItem = 7, | 56 ErrorCode_InexistentItem = 7 /*!< Accessing an inexistent item */, |
55 ErrorCode_BadRequest = 8, | 57 ErrorCode_BadRequest = 8 /*!< Bad request */, |
56 ErrorCode_NetworkProtocol = 9, | 58 ErrorCode_NetworkProtocol = 9 /*!< Error in the network protocol */, |
57 ErrorCode_SystemCommand = 10, | 59 ErrorCode_SystemCommand = 10 /*!< Error while calling a system command */, |
58 ErrorCode_Database = 11, | 60 ErrorCode_Database = 11 /*!< Error with the database engine */, |
59 ErrorCode_UriSyntax = 12, | 61 ErrorCode_UriSyntax = 12 /*!< Badly formatted URI */, |
60 ErrorCode_InexistentFile = 13, | 62 ErrorCode_InexistentFile = 13 /*!< Inexistent file */, |
61 ErrorCode_CannotWriteFile = 14, | 63 ErrorCode_CannotWriteFile = 14 /*!< Cannot write to file */, |
62 ErrorCode_BadFileFormat = 15, | 64 ErrorCode_BadFileFormat = 15 /*!< Bad file format */, |
63 ErrorCode_Timeout = 16, | 65 ErrorCode_Timeout = 16 /*!< Timeout */, |
64 ErrorCode_UnknownResource = 17, | 66 ErrorCode_UnknownResource = 17 /*!< Unknown resource */, |
65 ErrorCode_IncompatibleDatabaseVersion = 18, | 67 ErrorCode_IncompatibleDatabaseVersion = 18 /*!< Incompatible version of the database */, |
66 ErrorCode_FullStorage = 19, | 68 ErrorCode_FullStorage = 19 /*!< The file storage is full */, |
67 ErrorCode_CorruptedFile = 20, | 69 ErrorCode_CorruptedFile = 20 /*!< Corrupted file (inconsistent MD5 hash) */, |
68 ErrorCode_InexistentTag = 21, | 70 ErrorCode_InexistentTag = 21 /*!< Inexistent tag */, |
69 ErrorCode_ReadOnly = 22, | 71 ErrorCode_ReadOnly = 22 /*!< Cannot modify a read-only data structure */, |
70 ErrorCode_IncompatibleImageFormat = 23, | 72 ErrorCode_IncompatibleImageFormat = 23 /*!< Incompatible format of the images */, |
71 ErrorCode_IncompatibleImageSize = 24, | 73 ErrorCode_IncompatibleImageSize = 24 /*!< Incompatible size of the images */, |
72 ErrorCode_SharedLibrary = 25, | 74 ErrorCode_SharedLibrary = 25 /*!< Error while using a shared library (plugin) */, |
73 ErrorCode_Plugin = 26 | 75 ErrorCode_Plugin = 26 /*!< Error encountered inside a plugin */ |
74 }; | 76 }; |
75 | 77 |
76 enum LogLevel | 78 enum LogLevel |
77 { | 79 { |
78 LogLevel_Error, | 80 LogLevel_Error, |