pub fn truncate(text: &str, max: usize) -> String
Enough of a long string to recognise, without pasting the whole thing into an error message.