UNPKG

261 BJavaScriptView Raw
1'use strict';
2const NestedError = require('nested-error-stacks');
3
4class CpFileError extends NestedError {
5 constructor(message, nested) {
6 super(message, nested);
7 Object.assign(this, nested);
8 this.name = 'CpFileError';
9 }
10}
11
12module.exports = CpFileError;