/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * A runner's failure, as every stock runner reports it on stderr: one reading * of it for each part of the renderer that says why a run ended — a query's * run (`query/one-shot.ts`), and a call a draft's mutation ended * (`func-runtime.ts`, east-workspace#1624), whose record's words are its * message. * * @packageDocumentation */ /** A failure as every stock runner reports it on stderr. */ export interface RunnerFailure { /** The error's message. */ readonly message: string; /** Where it was raised, innermost first: a file, and a 1-based line and column. */ readonly places: readonly { readonly file: string; readonly line: number; readonly column: number; }[]; } /** * The failure a runner reported: `Error: `, then ` at ::` * for each place, innermost first, as east-c, east-node and east-py all write it. * * @param stderr - the tail of the runner's stderr * @returns the failure, or `undefined` when the runner reported none */ export declare function runnerFailureOf(stderr: string): RunnerFailure | undefined; //# sourceMappingURL=runner-failure.d.ts.map