internal/e_helpers_process.js
function fail (msg, lvl, typ, req) {
        var msg = msg || 'No error message was defined for this condition.'

        var err
        if ( !_.isUndefined(typ) )
            err = new typ(msg)
        else
            err = new ReferenceError(msg)

        err.lvl = lvl || 1

        func(err)
    }
function fail (msg, lvl, typ, req) {
        var msg = msg || 'No error message was defined for this condition.'

        var err
        if ( !_.isUndefined(typ) )
            err = new typ(msg)
        else
            err = new ReferenceError(msg)

        err.lvl = lvl || 1

        func(err)
    }
function fail ( msg , lvl , typ , req ) { var msg = msg || 'No error message was defined for this condition.' var err if ( ! _ . isUndefined ( typ ) ) err = new typ ( msg ) else err = new ReferenceError ( msg ) err . lvl = lvl || 1 func ( err ) }
public 
Call this when everything goes really wrong.
@method fail
@for systemLogger
@param msg {String} text that will go into the error.
@param lvl {Number} level value that will go into the error.
@param typ {Error} optional, include if you don't want a ReferenceError.
@param req {Error} optional, for future integration with node server.
public Call this when everything goes really wrong .