Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/puppet/lib/PuppetLaunchError.ts
1029 views
1
import { IPuppetLaunchError } from '@secret-agent/interfaces/IPuppetLaunchError';
2
3
export default class PuppetLaunchError extends Error implements IPuppetLaunchError {
4
constructor(message: string, stack: string, readonly isSandboxError: boolean) {
5
super(message);
6
this.stack = stack;
7
this.name = 'PuppetLaunchError';
8
this.stack = `${this.name}: ${this.message}\n${stack}`;
9
}
10
}
11
12