MCPcopy
hub / github.com/anomalyco/opencode / isSessionNotFoundError

Function isSessionNotFoundError

packages/client/src/generated/types.ts:33–34  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

31 readonly message: string
32}
33export const isSessionNotFoundError = (value: unknown): value is SessionNotFoundError =>
34 typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "SessionNotFoundError"
35
36export type ConflictError = {
37 readonly _tag: "ConflictError"

Callers 1

promise.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected