Skip to content

Commit

Permalink
Merge pull request #1353 from restify/deprecateIfError
Browse files Browse the repository at this point in the history
deprecated next.ifError
  • Loading branch information
William Blankenship committed May 18, 2017
2 parents d6c5c8c + eec78ed commit 04ec7e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/server.js
Expand Up @@ -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}
Expand Down

0 comments on commit 04ec7e5

Please sign in to comment.