UNPKG

generator-hilary

Version:

Yeoman generator for projects that use hilary IoC (DI)

11 lines (9 loc) 295 B
module.exports.name = 'exceptions'; module.exports.singleton = true; module.exports.dependencies = ['ExceptionHandler']; module.exports.factory = function (ExceptionHandler) { 'use strict'; return new ExceptionHandler(function (exception) { console.error(exception); }); };