dirkmc 030195e315 revert: "feat: make listen take an array of addrs (#46)" (#51)
This reverts commit 1dc5baab0b3efdf5ec07be646b8692700eb4c91c.
2019-04-29 17:04:17 +02:00

22 lines
310 B
JavaScript

'use strict'
class AbortError extends Error {
constructor () {
super('The operation was aborted')
this.code = AbortError.code
this.type = AbortError.type
}
static get code () {
return 'ABORT_ERR'
}
static get type () {
return 'aborted'
}
}
module.exports = {
AbortError
}