JSON error function
This function is used to add a JSON error response to the
res
object. It is called by the handleErrors()
utility
function.
jsonError(req, res, err)
req |
|
res |
|
err |
|
The incoming res
object is modified.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.