pub fn error<S>(msg: S) -> Error
where S: ToString,