errorlist.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 _SYSTEM_ERROR_LIST_HPP__
  14. #define _SYSTEM_ERROR_LIST_HPP__
  15. // Define start and end ranges for error codes that may be thrown, written to a log, or returned in any manner
  16. // create a range that will be big enough
  17. // actual error codes do not belong in this file
  18. #define ERRORID_UNKNOWN 999 // Right now, this value is used to filter out error messages which have
  19. // not been verified for well-defined error code and message content. For
  20. // example, if an error code is not greater than this value, ECLWatch displays
  21. // the error as "internal system error".
  22. #define ECL_WARN_START 1000
  23. #define ECL_WARN_END 1099
  24. #define ROXIEMM_ERROR_START 1300
  25. #define ROXIE_ERROR_START 1400 // roxie is already using this start value
  26. #define ROXIE_ERROR_END 1799
  27. #define ROXIE_MGR_START 1800 // used in esp service to communicate / gather info for roxie
  28. #define ROXIE_MGR_END 1999
  29. #define HQL_ERROR_START 2000 // 2000..3999 in hql, 4000..4999 in hqlcpp
  30. #define HQL_ERROR_END 4999
  31. #define WORKUNIT_ERROR_START 5000
  32. #define WORKUNIT_ERROR_END 5099
  33. #define PACKAGE_ERROR_START 5200
  34. #define PACKAGE_ERROR_END 5299
  35. #define THORHELPER_ERROR_START 5300
  36. #define THORHELPER_ERROR_END 5399
  37. #define WUWEB_ERROR_START 5500
  38. #define WUWEB_ERROR_END 5599
  39. #define XSLT_ERROR_START 5600
  40. #define XSLT_ERROR_END 5699
  41. #define REMOTE_ERROR_START 8000 // dafilesrv etc - see common/remote/remoteerr.hpp
  42. #define REMOTE_ERROR_END 8099
  43. #define DISPATCH_ERROR_START 9000
  44. #define DISPATCH_ERROR_END 9399
  45. #define QUERYREGISTRY_ERROR_START 9600
  46. #define QUERYREGISTRY_ERROR_END 9799
  47. #define JVM_API_ERROR_START 10000
  48. #define JVM_API_ERROR_END 10499
  49. #define PKG_PROCESS_ERROR_START 11000
  50. #define PKG_PROCESS_ERROR_END 11100
  51. #define ECLWATCH_ERROR_START 20000
  52. #define ECLWATCH_ERROR_END 29999
  53. #endif