UNPKG

@tsed/cli-core

Version:
10 lines (9 loc) 234 B
export class CliError extends Error { constructor({ cli, origin }) { super(origin.message); this.name = "CLI_ERROR"; this.cli = cli; this.origin = origin; this.stack = origin.stack; } }