Return error instead of *LineError