UNPKG

268 BJavaScriptView Raw
1'use strict';
2
3var errors = require('restify-errors');
4
5// This allows Restify to work with restify-errors v6+
6module.exports = {
7 RequestCloseError: errors.makeConstructor('RequestCloseError'),
8 RouteMissingError: errors.makeConstructor('RouteMissingError')
9};