Can you make `error()` take an element so the compiler can provide line number information?