Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function GotError(message, nested) {
NestedErrorStacks.call(this, message, nested);
objectAssign(this, nested, {nested: this.nested});
}
function InternalError(message, nested) {
NestedError.call(this, message, nested);
}
function GotError(message, nested) {
NestedErrorStacks.call(this, message, nested);
objectAssign(this, nested, {nested: this.nested});
}
function BarError(message, nested) {
NestedError.call(this, message, nested);
}
function FooError(message, nested) {
NestedError.call(this, message, nested);
}