結果 : typescript try catch different error types