結果 : manually throw error in javascript