@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Class PreflightError

    Thrown when preflight rejects an application before any VS Code registration happens. Carries every problem found, not just the first.

    problems is the structured form. issues is the same list as messages, in the same order, for code that only wants to print them.

    try {
    compileApplication({ name: 'sample', modules });
    } catch (error) {
    if (error instanceof PreflightError) {
    for (const problem of error.problems) {
    console.error(`${problem.code}: ${problem.message}`);
    }
    }
    }

    Hierarchy

    • Error
      • PreflightError
    Index
    cause?: unknown
    issues: readonly string[]

    Each problem's message, in the same order.

    message: string
    name: string
    problems: readonly PreflightProblem[]

    Every problem found, in the order detected.

    stack?: string