Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Function budgetDiagnostic

    • The one diagnostic a stopped budget produces. Emitted once per build, not once per node, so a runaway macro does not also produce a runaway diagnostic list.

      Parameters

      Returns {
          code?:
              | "syntax"
              | "unsupported"
              | "undefined-command"
              | "undefined-environment"
              | "undefined-reference"
              | "duplicate-label"
              | "missing-file"
              | "missing-font"
              | "overfull-box"
              | "underfull-box"
              | "budget-exceeded"
              | "limit-exceeded"
              | "stopped"
              | "internal";
          column?: number;
          construct?: string;
          file: string;
          line: number;
          message: string;
          severity: "error"
          | "warning"
          | "info";
      }