More error handling (line num + chunk num)