jsonError {beakr} | R Documentation |
JSON error function
Description
This function is used to add a JSON error response to the
res
object. It is called by the handleErrors()
utility
function.
Usage
jsonError(req, res, err)
Arguments
req |
|
res |
|
err |
|
Value
The incoming res
object is modified.
See Also
[Package beakr version 0.4.3 Index]