Generate tile error file

fix #112