Mercurial > hg > orthanc-webviewer
comparison Orthanc/Core/Enumerations.cpp @ 82:56a016ae8090
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Oct 2015 17:38:27 +0200 |
parents | d6da56f86e5a |
children | 581937911d14 |
comparison
equal
deleted
inserted
replaced
81:3b7bab1e9ea2 | 82:56a016ae8090 |
---|---|
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 |