Module: app

app module The University of Scouting application allows users to view their transcript data. See README.md for more details.
Source:

Methods

(private, static) errorHandler(err, req, res, next)

handle final errors. Display errors using the "error" view.
Parameters:
Name Type Description
err Object error object
req Object request object
res Object response object
next function function call to next middleware
Source:

(private, static) notFoundHandler(req, res, next)

catch and generate 404 errors. Catch any yet unhandled routes and generate a 404 error to be handled by the errorHandler function.
Parameters:
Name Type Description
req Object request object
res Object response object
next function function call to next middleware
Source: