wuerror.hpp 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #ifndef WUERROR_HPP
  14. #define WUERROR_HPP
  15. #include "jexcept.hpp"
  16. /* Errors can occupy range 5000..5099 */
  17. #define WUERR_AccessError 5000
  18. #define WUERR_SecurityNotAvailable 5001
  19. #define WUERR_WorkunitProtected 5002
  20. #define WUERR_WorkunitActive 5003
  21. #define WUERR_WorkunitScheduled 5004
  22. #define WUERR_ConnectFailed 5005
  23. #define WUERR_LockFailed 5006
  24. #define WUERR_WorkunitAccessDenied 5007
  25. #define WUERR_MismatchClusterSize 5008
  26. #define WUERR_MismatchThorType 5009
  27. #define WUERR_InternalUnknownImplementation 5010
  28. #define WUERR_CannotCloneWorkunit 5011
  29. #define WUERR_CorruptResult 5012
  30. #define WUERR_ResultFormatMismatch 5013
  31. #define WUERR_InvalidResultFormat 5014
  32. #define WUERR_MissingFormatTranslator 5015
  33. #define WUERR_InvalidCluster 5016
  34. #define WUERR_InvalidQueue 5017
  35. #define WUERR_CannotSchedule 5018
  36. #define WUERR_InvalidUploadFormat 5019
  37. #define WUERR_InvalidSecurityToken 5020
  38. #define WUERR_ScheduleLockFailed 5021
  39. #define WUERR_PackageAlreadyExists 5022
  40. #define WUERR_MismatchClusterType 5023
  41. #define WUERR_InvalidDll 5024
  42. #define WUERR_WorkunitPublished 5025
  43. #define WUERR_GraphProgressWriteUnsupported 5026
  44. #define WUERR_WorkunitPluginError 5027
  45. #define WUERR_WorkunitVersionMismatch 5028
  46. #define WUERR_InvalidFieldUsage 5029
  47. #define WUERR_InvalidUserInput 5030
  48. #define WUERR_CannotImportWorkunit 5031
  49. #endif