結果 : catching errors in typescript