docs: fix spelling in throw docs (#1269)

This commit is contained in:
Martin Iwanowski 2018-11-05 10:16:27 +01:00 committed by Yiyu He
parent bc81ca9414
commit 71aaa29591

View file

@ -85,7 +85,7 @@ const proto = module.exports = {
*
* See: https://github.com/jshttp/http-errors
*
* Note: `stats` should only be passed as the first parameter.
* Note: `status` should only be passed as the first parameter.
*
* @param {String|Number|Error} err, msg or status
* @param {String|Number|Error} [err, msg or status]