thedesk/app/node_modules/loud-rejection/api.js

12 lines
358 B
JavaScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
'use strict';
var util = require('util');
var currentlyUnhandled = require('currently-unhandled');
// WARNING: This undocumented API is subject to change.
module.exports = util.deprecate(function (process) {
return {
currentlyUnhandled: currentlyUnhandled(process)
};
}, 'loudRejection/api is deprecated. Use the currently-unhandled module instead.');