From 07e47c3bbb8742ffa9e87a2b2ddac932174a8699 Mon Sep 17 00:00:00 2001 From: Tianxiao Ma Date: Mon, 18 Feb 2019 19:29:40 +1100 Subject: [PATCH] expose ERROR symbol from error-handler --- lib/error-handler.js | 2 ++ 1 file changed, 2 insertions(+) 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 });