Files
NapCatQQ/.pnpm-store/v3/files/38/cb4aa0c45134f23e1c0a59c8a69156947a4da97cffe74ac2d652a54737182b2df98cfbbf8cf9d014bbeb27ceaa7365a20338af1c3633c24d1704ffc54c5f73
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
284 B
Plaintext

class NotCachedError extends Error {
constructor (url) {
/* eslint-disable-next-line max-len */
super(`request to ${url} failed: cache mode is 'only-if-cached' but no cached response is available.`)
this.code = 'ENOTCACHED'
}
}
module.exports = {
NotCachedError,
}