website.js
// Code to call any error code (could replace internalError)
Code to call any error code (could replace internalError)
Code to call any error code ( could replace internalError )
function renderError(res, errorCode, errorMessage) {
        res.status(errorCode);
        res.render('error', {
            title: 'Error ' + errorCode + ' / CS Blogs',
            errorCode: errorCode,
            errorMessage: errorMessage
        });
    }
function renderError ( res , errorCode , errorMessage ) { res . status ( errorCode ) ; res . render ( 'error' , { title : 'Error ' + errorCode + ' / CS Blogs' , errorCode : errorCode , errorMessage : errorMessage } ) ; }
Code to call any error code (could replace internalError)
Code to call any error code ( could replace internalError )