`actions.resultNotFound(req, res, code, msg, headers)` The function generates an error response.