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

Function eventError

packages/llm/src/protocols/shared.ts:90–95  ·  view source on GitHub ↗
(route: string, message: string, raw?: string)

Source from the content-addressed store, hash-verified

88}
89
90export const eventError = (route: string, message: string, raw?: string) =>
91 new LLMError({
92 module: "ProviderShared",
93 method: "stream",
94 reason: new InvalidProviderOutputReason({ route, message, raw }),
95 })
96
97export const parseJson = (route: string, input: string, message: string) =>
98 Effect.try({

Callers 3

appendOrStartFunction · 0.90
appendExistingFunction · 0.90
parseJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected