UNPKG

acha-framework

Version:

is a modular framework on both client (angular.js) and server (node.js) side, it provides security, orm, ioc, obfuscation and ...

8 lines 230 B
(function (undefined) { Ioc.define('backend.errorHandler', [], function (provide) { provide(function (err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); }); }());