MCPcopy Create free account
hub / github.com/anomalyco/opencode / isAbort

Function isAbort

packages/opencode/src/cli/cmd/run/session-data.ts:185–187  ·  view source on GitHub ↗
(error: { name?: string } | undefined)

Source from the content-addressed store, hash-verified

183}
184
185function isAbort(error: { name?: string } | undefined): boolean {
186 return error?.name === "MessageAbortedError"
187}
188
189function msgErr(id: string): string {
190 return `msg:${id}:error`

Callers 1

reduceSessionDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected