errorCode.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. return [
  3. /**
  4. * 系统错误信息
  5. */
  6. '100' => 'Continue',
  7. '101' => 'Switching Protocols',
  8. '102' => 'Processing',
  9. '103' => 'Checkpoint',
  10. '122' => 'Reques­t-URI too long',
  11. '200' => 'OK',
  12. '201' => 'Created',
  13. '202' => 'Accepted',
  14. '203' => 'Non-Au­tho­rit­ative Inform­ation',
  15. '204' => 'No Content',
  16. '205' => 'Reset Content',
  17. '206' => 'Partial Content',
  18. '207' => 'Multi-­Status',
  19. '208' => 'Already Reported',
  20. '226' => 'IM Used',
  21. '300' => 'Multiple Choices',
  22. '301' => 'Moved Perman­ently',
  23. '302' => 'Found',
  24. '303' => 'See Other',
  25. '304' => 'Not Modified',
  26. '305' => 'Use Proxy',
  27. '306' => 'Switch Proxy',
  28. '307' => 'Temporary Redirect',
  29. '308' => 'Resume Incomplete',
  30. '400' => 'Bad Request',
  31. '401' => 'Unauth­orized',
  32. '402' => 'Payment Required',
  33. '403' => 'Forbidden',
  34. '404' => 'Not Found',
  35. '405' => 'Method Not Allowed',
  36. '406' => 'Not Acceptable',
  37. '407' => 'Proxy Authen­tic­ation Required',
  38. '408' => 'Request Timeout',
  39. '409' => 'Conflict',
  40. '410' => 'Gone',
  41. '411' => 'Length Required',
  42. '412' => 'Precon­dition Failed',
  43. '413' => 'Request Entity Too Large',
  44. '414' => 'Reques­t-URI Too Long',
  45. '415' => 'Unsupp­orted Media Type',
  46. '416' => 'Requested Range Not Satisf­iable',
  47. '417' => 'Expect­ation Failed',
  48. '418' => 'I am a teapot',
  49. '422' => 'Unproc­essable Entity',
  50. '423' => 'Locked',
  51. '424' => 'Failed Dependency',
  52. '425' => 'Unordered Collection',
  53. '426' => 'Upgrade Required',
  54. '428' => 'Precon­dition Required',
  55. '429' => 'Too Many Requests',
  56. '431' => 'Request Header Fields Too Large',
  57. '444' => 'No Response',
  58. '449' => 'Retry With',
  59. '450' => 'Blocked By Windows Parental Controls',
  60. '451' => 'Unavai­lable For Legal Reasons',
  61. '499' => 'Client Closed Request',
  62. '500' => 'Internal Server Error',
  63. '501' => 'Not Implem­ented',
  64. '502' => 'Bad Gateway',
  65. '503' => 'Service Unavai­lable',
  66. '504' => 'Gateway Timeout',
  67. '505' => 'HTTP Version Not Supported',
  68. '506' => 'Variant Also Negotiates',
  69. '507' => 'Insuff­icient Storage',
  70. '508' => 'Loop Detected',
  71. '509' => 'Bandwidth Limit Exceeded',
  72. '510' => 'Not Extended',
  73. '511' => 'Network Authen­tic­ation Required',
  74. '598' => 'Network read timeout error',
  75. '599' => 'Network connect timeout error',
  76. '1001' => '非POST提交',
  77. '1002' => '非GET提交',
  78. '1003' => '表单验证失败',
  79. //message
  80. '2001' => '消息主体不能为空',
  81. '2002' => '消息格式错误',
  82. '2003' => '队列名称不能为空',
  83. '2004' => '队列名称格式错误',
  84. '2005' => 'data不能为空',
  85. '2006' => 'data格式错误,必须是合法json',
  86. '2007' => 'data格式错误,必须包含 \'body\',\'infos\'',
  87. '2100' => '队列创建失败',
  88. '2101' => '消息处理中',
  89. '2102' => '未知消息',
  90. '2201' => 'sign不能为空',
  91. '2202' => '不支持的请求类型',
  92. ];