Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

markdownActionFailure.ts

15 lines418 Bytes

1interface MarkdownActionFailureContext {
2 readonly operation: string;
3 readonly target?: string;
4 readonly format?: "markdown" | "csv";
5 readonly language?: string;
6 readonly fenceTitle?: string;
7 readonly copyTarget?: string;
8}
9​
10export function reportMarkdownActionFailure(
11 context: MarkdownActionFailureContext,
12 cause: unknown,
13): void {
14 console.error("[chat-markdown] action failed", context, cause);