MCPcopy 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
75pub fn err_msg(msg: &str) -> Box<StrError> {
76 Box::new(StrError(msg))
77}
78
79#[derive(Debug)]
80pub struct StrError<'a>(&'a str);

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
StrErrorClass · 0.85

Tested by

no test coverage detected