MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isAbortMessage

Function isAbortMessage

apps/kimi-code/src/tui/utils/errors.ts:1–3  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1function isAbortMessage(message: string): boolean {
2 return message === 'Aborted' || message.endsWith(': Aborted');
3}
4
5export function isAbortError(error: unknown): boolean {
6 if (error instanceof Error) {

Callers 1

isAbortErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected