/**
 * Custom error classes for build-time errors with metadata.
 * These errors are thrown to Vite's error handling system instead of
 * being sent via custom events.
 */
export class ImportError extends Error {
    importPath;
    constructor(message, importPath) {
        super(message);
        this.name = "ImportError";
        this.importPath = importPath;
    }
}
//# sourceMappingURL=build-errors.js.map