MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / error

Method error

crates/opencode-tui/src/components/dialogs/status.rs:63–68  ·  view source on GitHub ↗
(text: impl Into<String>)

Source from the content-addressed store, hash-verified

61 }
62
63 pub fn error(text: impl Into<String>) -> Self {
64 Self {
65 text: text.into(),
66 kind: StatusLineKind::Error,
67 }
68 }
69}
70
71pub struct StatusDialog {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected