Source code

Revision control

Copy as Markdown

Other Tools

/**
* Error without a stack, which can be used to fatally exit from `tool/` scripts with a
* user-friendly message (and no confusing stack).
*/
export class StacklessError extends Error {
constructor(message: string) {
super(message);
this.stack = undefined;
}
}