bktide
Version:
Command-line interface for Buildkite CI/CD workflows with rich shell completions (Fish, Bash, Zsh) and Alfred workflow integration for macOS power users
18 lines • 613 B
JavaScript
/**
* Error that carries pre-formatted guidance text.
*
* Used when the caller has already composed environment-aware help
* (e.g. TokenSetupGuide). The error formatter should display the
* guidance directly and skip its own contextual hints/tips.
*/
export class GuidanceError extends Error {
guidance;
constructor(guidance) {
// Use a short message for the error title line
super('Setup required');
this.name = 'GuidanceError';
this.guidance = guidance;
Object.setPrototypeOf(this, GuidanceError.prototype);
}
}
//# sourceMappingURL=GuidanceError.js.map