lib/ponse.js
function sendError(error, params) {
    checkParams(params);
    
    params.status = FILE_NOT_FOUND;
    
    const data = error.message || String(error);
    
    logError(error.stack);
    
    send(data, params);
}
function sendError(error, params) {
    checkParams(params);
    
    params.status = FILE_NOT_FOUND;
    
    const data = error.message || String(error);
    
    logError(error.stack);
    
    send(data, params);
}
function sendError ( error , params ) { checkParams ( params ) ; params . status = FILE_NOT_FOUND ; const data = error . message || String ( error ) ; logError ( error . stack ) ; send ( data , params ) ; }
send error response
send error response