UNPKG

generic-errors

Version:
13 lines (10 loc) 434 B
var BaseError = require('./baseError'); var captureStackTrace = require('capture-stack-trace'); function RangeNotSatisfiable() { BaseError.apply(this, arguments); captureStackTrace(this, RangeNotSatisfiable); } RangeNotSatisfiable.prototype = Object.create(BaseError.prototype); RangeNotSatisfiable.prototype.constructor = RangeNotSatisfiable; RangeNotSatisfiable.prototype.code = 416; module.exports = RangeNotSatisfiable;