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