Files
portfolio2023/build/node_modules/cpy/cpy-error.js
T
2023-11-24 22:35:41 +01:00

13 lines
252 B
JavaScript

'use strict';
const NestedError = require('nested-error-stacks');
class CpyError extends NestedError {
constructor(message, nested) {
super(message, nested);
Object.assign(this, nested);
this.name = 'CpyError';
}
}
module.exports = CpyError;