結果 : catch error in typescript