Mercurial > hg > orthanc
comparison Core/Enumerations.cpp @ 1651:2e692c83e2f3
improved custom error login
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Sep 2015 17:29:39 +0200 |
parents | 87c77b9b3679 |
children | b80e76dd1d56 |
comparison
equal
deleted
inserted
replaced
1650:9f34ebfaf2c9 | 1651:2e692c83e2f3 |
---|---|
42 { | 42 { |
43 // This function is autogenerated by the script | 43 // This function is autogenerated by the script |
44 // "Resources/GenerateErrorCodes.py" | 44 // "Resources/GenerateErrorCodes.py" |
45 const char* EnumerationToString(ErrorCode error) | 45 const char* EnumerationToString(ErrorCode error) |
46 { | 46 { |
47 if (error >= ErrorCode_START_PLUGINS) | |
48 { | |
49 return "Error encountered within some plugin"; | |
50 } | |
51 | |
47 switch (error) | 52 switch (error) |
48 { | 53 { |
49 case ErrorCode_InternalError: | 54 case ErrorCode_InternalError: |
50 return "Internal error"; | 55 return "Internal error"; |
51 | 56 |