Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
function
isAbortMessage(message: string): boolean {
2
return
message ===
'Aborted'
|| message.endsWith(
': Aborted'
);
3
}
4
5
export
function
isAbortError(error: unknown): boolean {
6
if
(error instanceof Error) {
Callers
1
isAbortError
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected