aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/make-fetch-happen/lib/cache/errors.js
blob: 31e97c4b033c09c711ec4859d0343524912dda09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class NotCachedError extends Error {
  constructor (url) {
    super(`request to ${url} failed: cache mode is 'only-if-cached' but no cached response is available.`)
    this.code = 'ENOTCACHED'
  }
}

module.exports = {
  NotCachedError,
}