-
Notifications
You must be signed in to change notification settings - Fork 72
5.7. Error Handling (part 4) #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.7. Error Handling (part 4) #101
Conversation
# // handling, like parsing strings as integers or floats. | ||
// この構造体はCSVファイルの各行のデータを表現します。 | ||
// 型に基づくデコードは、文字列を整数や浮動小数点数にパースしてしまう | ||
// といった、核心部分のエラーハンドリングの大半を免除してくれます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
エラーハンドリングの大半を免除してくれます。
「型に基づくデコードは〜を免除してくれます」は直訳気味なので「型に基づくデコードにより〜から解放されます」はどうでしょう。
@tatsuya6502 多忙のため長らく音信普通にして申し訳ありませんでした。不在の間レビューやコードの管理ありがとうございました。 |
@@ -1569,7 +1569,7 @@ enum CliError { | |||
<!-- number. The error could represent as many error types as you want by adding new --> | |||
<!-- variants to the `enum` definition. --> | |||
このエラー型は2種類のエラー、つまり、IOを扱っているときのエラー、または、文字列を通知に変換するときのエラーが起こる可能性を示しています。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文字列を「通知」 → 文字列を「数値」
だと思います。
お二人とも、お忙しそうですね。そんな中でレビューしていただき、ありがとうございました! 誤訳、翻訳漏れ、誤字など、いろいろありましたね。やはりレビューは重要だと実感しました。 いただいたコメントには全て合意します。修正を3回に分けてコミットしました。
ご確認をお願いします。 |
マージしますね。これで、全体の進捗が 80% を超えました! |
5.7. Error Handling (part 4)
👏 |
@KeenS @ykomatsu @kw-udon
「5.7. エラーハンドリング」のパート4「ケーススタディ」です。レビューをお願いします。
これでこの章は終わりですが、パート3はレビューのフィードバックなしでマージしたので、できれば、パート3「標準ライブラリのトレイトによるエラー処理」まで戻ってレビューしていただけると非常に助かります。
よろしくお願いします。