mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
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.
11 lines
282 B
TypeScript
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
|
|
}
|
|
}
|