Open History to see the last commit
1export type TableCopyFormat = "markdown" | "csv" | "html";
2
3interface MarkdownActionFailureContext {
4 readonly operation: string;
5 readonly target?: string;
6 readonly format?: TableCopyFormat;
7 readonly language?: string;
8 readonly fenceTitle?: string;
9 readonly copyTarget?: string;
10}
11
12export function reportMarkdownActionFailure(
13 context: MarkdownActionFailureContext,
14 cause: unknown,
15): void {
16 console.error("[chat-markdown] action failed", context, cause);
17}