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

Function error

packages/opencode/src/plugin/tui/runtime.ts:756–771  ·  view source on GitHub ↗
(candidate, retry, stage, error, resolved)

Source from the content-addressed store, hash-verified

754 warn("tui plugin has no entrypoint", { path: candidate.plan.spec, retry, message })
755 },
756 error(candidate, retry, stage, error, resolved) {
757 const spec = candidate.plan.spec
758 if (stage === "install") {
759 fail("failed to resolve tui plugin", { path: spec, retry, error })
760 return
761 }
762 if (stage === "compatibility") {
763 fail("tui plugin incompatible", { path: spec, retry, error })
764 return
765 }
766 if (stage === "entry") {
767 fail("failed to resolve tui plugin entry", { path: spec, retry, error })
768 return
769 }
770 fail("failed to load tui plugin", { path: spec, target: resolved?.entry, retry, error })
771 },
772 },
773 })
774}

Callers

nothing calls this directly

Calls 1

failFunction · 0.70

Tested by

no test coverage detected