UNPKG

express-ipfilter-secured

Version:
13 lines (10 loc) 375 B
'use strict'; module.exports = function IpDeniedError(message, extra) { Error.captureStackTrace(this, this.constructor); this.name = this.constructor.name; this.message = message || 'The requesting IP was denied'; this.extra = extra; this.status = this.statusCode = 403; }; require('util').inherits(module.exports, Error); //# sourceMappingURL=deniedError.js.map