From 76b3e873151163e16d91f1896fc00481fe6aa0bc Mon Sep 17 00:00:00 2001 From: retrohacker Date: Mon, 15 May 2017 12:38:18 -0700 Subject: [PATCH] deprecated next.ifError --- lib/server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/server.js b/lib/server.js index 1baa636f7..6054237a1 100644 --- a/lib/server.js +++ b/lib/server.js @@ -159,7 +159,9 @@ function mergeFormatters(fmt) { /** * attaches ifError function attached to the `next` function in handler chain. * uses a closure to maintain ref to next. + * * @private + * @deprecated since 5.x * @function ifError * @param {Function} n the next function * @returns {Function}