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