export class WizardCancelledError extends Error {
  override name = 'WizardCancelledError';
  constructor() {
    super('Wizard cancelled by user');
  }
}

export class ValidationError extends Error {
  override name = 'ValidationError';
  constructor(message: string) {
    super(message);
  }
}

export class TemplateError extends Error {
  override name = 'TemplateError';
  constructor(templatePath: string, message: string) {
    super(`Template error in ${templatePath}: ${message}`);
  }
}
