MCPcopy Index your code
hub / github.com/anomalyco/opencode / fail

Function fail

packages/opencode/src/auth/index.ts:12–12  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

10const file = path.join(Global.Path.data, "auth.json")
11
12const fail = (message: string) => (cause: unknown) => new AuthError({ message, cause })
13
14export class Oauth extends Schema.Class<Oauth>("OAuth")({
15 type: Schema.Literal("oauth"),

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected