Mercurial > hg > orthanc
diff Core/Enumerations.cpp @ 1579:b93c398f934d
check the size of the enumerations in the plugin engine
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 15:45:50 +0200 |
parents | 09715095fc53 |
children | 357c4bb15701 |
line wrap: on
line diff
--- a/Core/Enumerations.cpp Tue Aug 25 15:33:36 2015 +0200 +++ b/Core/Enumerations.cpp Tue Aug 25 15:45:50 2015 +0200 @@ -49,11 +49,14 @@ case ErrorCode_Custom: return "Custom error, see the attached error message"; + case ErrorCode_InternalError: + return "Internal error"; + case ErrorCode_Success: return "Success"; - case ErrorCode_InternalError: - return "Internal error"; + case ErrorCode_Plugin: + return "Error encountered within the plugin engine"; case ErrorCode_NotImplemented: return "Not implemented yet"; @@ -127,9 +130,6 @@ case ErrorCode_SharedLibrary: return "Error while using a shared library (plugin)"; - case ErrorCode_Plugin: - return "Error encountered inside a plugin"; - default: return "Unknown error code"; }