Create the NotFoundError
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- api
調査の方向性
まず、js-dataverse における既存の ReadError の実装と、読み取り操作のエラー処理を追跡します。API の not-found レスポンスがどこでエラーに変換され、そこでどのような詳細化されたデータが利用できるのかを特定します。既存の ReadError の動作を維持したまま、promise の catch で個別の NotFoundError を識別できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Overview of the Feature Request
For now any error returned by the API in a read operation returns a ReadError, which includes the message with the HTTP error code as a very simple string, but we can define a new NotFoundError that extends ReadError also including more refined data. This way we can safely identify a not found error within the block catch of the promise, and carry out the necessary actions in the SPA.
What Inspired the Request?
What Existing Behavior Do You Want Changed?
Error handling
Any Brand New Behavior Do You Want to Add to js-dataverse?
New not found error
Any Open or Closed Issues Related to This Feature Request?
No
- 主要言語
- TypeScript
- スター
- 20
- フォーク
- 11
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IQSS/dataverse-client-javascript のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
IQSS/dataverse-client-javascript#477 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
IQSS/dataverse-client-javascript#476 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
IQSS/dataverse-client-javascript#465 · コメント 1 件 · リアクション 2 件 ·
-
GREI Re-arch
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
IQSS/dataverse-client-javascript の issue をすべて見る
似ている issue
-
Browser Waiting for: Product Owner
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
getsentry/sentry-javascript#24577 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agilepathway/label-checker#640 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anomalyco/models.dev#7701 ·