diff --git a/lib/error-handler.js b/lib/error-handler.js index 0aefe04..03f22bb 100644 --- a/lib/error-handler.js +++ b/lib/error-handler.js @@ -92,3 +92,5 @@ module.exports = function errorHandler (error) { throw feathersError; }; + +Object.assign(module.exports, { ERROR });