Files
sim/scripts/setup/errors.ts
T
Theodore Li 9a9132e90a feat(setup): setup wizard with browser-based Chat key handoff
Adds `bun run setup` and `bun run doctor` for local installs, and replaces
the wizard's paste-your-Chat-key step with a browser handoff that never puts
the key in a URL.
2026-07-23 17:25:15 -07:00

11 lines
282 B
TypeScript

/** A setup failure that carries actionable next steps for the failure screen. */
export class SetupError extends Error {
readonly hints: string[]
constructor(message: string, hints: string[] = []) {
super(message)
this.name = 'SetupError'
this.hints = hints
}
}