Sha256: beef50fea16c75e829bb5288e8135d0c8d5e9c1425c123978dd38a2754afc007

Contents?: true

Size: 362 Bytes

Versions: 48

Compression:

Stored size: 362 Bytes

Contents

'use strict'
class AbortError extends Error {
  constructor (message) {
    super(message)
    this.code = 'FETCH_ABORTED'
    this.type = 'aborted'
    Error.captureStackTrace(this, this.constructor)
  }

  get name () {
    return 'AbortError'
  }

  // don't allow name to be overridden, but don't throw either
  set name (s) {}
}
module.exports = AbortError

Version data entries

48 entries across 24 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.51 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.50 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.50 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.49 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.49 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.48 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.48 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.47 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.47 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.46 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.46 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.45 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.45 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.44 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.44 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.43 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.43 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.42 node_modules/minipass-fetch/lib/abort-error.js
immosquare-cleaner-0.1.42 node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass-fetch/lib/abort-error.js