/**
 * Thrown by `assertFeatureConformance` when a binding does not match the
 * manifest's declared shape. The boot assertion lets this propagate
 * synchronously so `pnpm dev` refuses to start on drift.
 */
export class ConformanceError extends Error {
  constructor(message: string) {
    super(message);
    this.name = "ConformanceError";
    // Maintain a proper prototype chain across down-compilation.
    Object.setPrototypeOf(this, ConformanceError.prototype);
  }
}
