Blame view

天文台pc/tianwentai-ui/node_modules/redux/src/utils/formatProdErrorMessage.js 550 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  /**
   * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
   *
   * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
   * during build.
   * @param {number} code
   */
  function formatProdErrorMessage(code) {
    return (
      `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or ` +
      'use the non-minified dev environment for full errors. '
    )
  }
  
  export default formatProdErrorMessage