Package Exports
- @jswork/is-wx-request-timeout
- @jswork/is-wx-request-timeout/dist/index.esm.js
- @jswork/is-wx-request-timeout/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jswork/is-wx-request-timeout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-wx-request-timeout
Detect if weixin request timeout for mina.
installation
npm install @jswork/is-wx-request-timeoutusage
import isWxRequestTimeout from '@jswork/is-wx-request-timeout';
const msg = err.errMsg;
isWxRequestTimeout(msg); // true/falselicense
Code released under the MIT license.