function returnHTMLError()

in Modules/common.js [122:129]


function returnHTMLError(code, HTMLvalue, callback) {
    var response = {
        statusCode: code,
        headers: {"content-type": "text/html", "cache-control": "no-store"},
        body: HTMLvalue
    };
    callback(null, response);
}