code.js 761 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.ERROR = {
  4. INVALID_PARAM: {
  5. code: 'INVALID_PARAM',
  6. message: 'invalid param'
  7. },
  8. SYS_ERR: {
  9. code: 'SYS_ERR',
  10. message: 'system error'
  11. },
  12. STORAGE_REQUEST_FAIL: {
  13. code: 'STORAGE_REQUEST_FAIL',
  14. message: 'storage request fail'
  15. },
  16. STORAGE_FILE_NONEXIST: {
  17. code: 'STORAGE_FILE_NONEXIST',
  18. message: 'storage file not exist'
  19. },
  20. TCB_CLS_UNOPEN: {
  21. code: 'TCB_CLS_UNOPEN',
  22. message: '需要先开通日志检索功能'
  23. },
  24. INVALID_CONTEXT: {
  25. code: 'INVALID_CONTEXT',
  26. message: '无效的context对象,请使用 云函数入口的context参数'
  27. }
  28. };