nushell / nushell/nushell.github.io
Add a chapter about errors
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 258
- フォーク
- 561
- 平均マージ
- 3時間 20分
- マージ済み PR(30日)
- 15
説明
One concept that I still find quite hard to grasp are Nushell's errors.
As far as I can tell, they behave like raised exceptions in a language like Python.
They bubble up, but can be caught with try or do -i.
However, I haven't seen that spelled out yet.
I see that nushell errors are also created if external commands exit with a non-zero exit code.
But also that isn't mentioned in the book.
I would be happy to add a chapter about errors in Nushell if someone could me guide through the things I am unsure about.
Topics to cover:
- behavior of errors
trydoerror makecomplete
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にはファイル、テスト、またはエントリポイントが記載されていません。まず、エラー、try、do -i、error make、complete に関する Nushell のドキュメントを確認し、次に外部コマンドのゼロ以外の終了コードがどのように扱われるかを確認してください。完了条件は、列挙された各トピックを明確に説明する章を追加することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100