1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
crate::ix!(); pub struct DbWrapperError { } impl DbWrapperError { pub fn new(msg: &String) -> Self { todo!(); /* : std::runtime_error(msg) */ } } pub fn dbwrapper_error<'a>(x: &'a str) -> &'a str { x }