Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ error
Method
error
crates/opencode-tui/src/components/dialogs/alert.rs:47–49 ·
view source on GitHub ↗
(message: &str)
Source
from the content-addressed store, hash-verified
45
}
46
47
pub fn error(message: &str) -> Self {
48
Self::new(
"Error"
, message, AlertType::Error)
49
}
50
51
pub fn open(&mut self) {
52
self.open = true;
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected