MCPcopy Index your code
hub / github.com/anomalyco/opencode / error.ts

File error.ts

packages/opencode/src/server/routes/instance/httpapi/middleware/error.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { NamedError } from "@opencode-ai/core/util/error"
2import { ConfigErrorV1 } from "@opencode-ai/core/v1/config/error"
3import { Cause, Effect } from "effect"
4import { HttpRouter, HttpServerError, HttpServerRespondable, HttpServerResponse } from "effect/unstable/http"

Callers

nothing calls this directly

Calls 4

asMethod · 0.80
findMethod · 0.65
isInstanceMethod · 0.45
toObjectMethod · 0.45

Tested by

no test coverage detected