How to use the blessed-contrib.serverError function in blessed-contrib

To help you get started, we’ve selected a few blessed-contrib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yaronn / wopr / server / server.js View on Github external
present(req, res, content, function(err) {
            if (err) console.log(new Error().stack)
            if (err) return contrib.serverError(req, res, err)
        })
        return