Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/auula/falsework
/ err_msg
Function
err_msg
src/cmd.rs:75–77 ·
view source on GitHub ↗
(msg: &str)
Source
from the content-addressed store, hash-verified
73
}
74
75
pub fn err_msg(msg: &str) -> Box<StrError> {
76
Box::new(StrError(msg))
77
}
78
79
#[derive(Debug)]
80
pub struct StrError<
'a>(&'
a str);
Callers
nothing calls this directly
Calls
2
new
Function · 0.85
StrError
Class · 0.85
Tested by
no test coverage detected