-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.js
18 lines (15 loc) · 665 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';
const { ErrorWithCause } = require('./lib/error-with-cause'); // linemod-replace-with: export { ErrorWithCause } from './lib/error-with-cause.mjs';
const { // linemod-replace-with: export {
findCauseByReference,
getErrorCause,
messageWithCauses,
stackWithCauses,
} = require('./lib/helpers'); // linemod-replace-with: } from './lib/helpers.mjs';
module.exports = { // linemod-remove
ErrorWithCause, // linemod-remove
findCauseByReference, // linemod-remove
getErrorCause, // linemod-remove
stackWithCauses, // linemod-remove
messageWithCauses, // linemod-remove
}; // linemod-remove