結果 : typescript catch multiple error types