Skip to content
Myr

Docs for notFound()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 0fc0f3c · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:lib/express/helpers.js+6 added
156 unmodified lines
157 return Express.server.respond(body)158 throw new InvalidStatusCode(code)159}160161/**162 * Throw NotFoundError in context to the current request.163 *164 * @api public165 */166167exports.notFound = function() {168 throw new NotFoundError(Express.server.request)169}170
90 unmodified lines