Track line number for errors separately from message.