Throw `GitHubProjectItemNotFoundError` when project item could not be found in query
- Ngôn ngữ chính
- JavaScript
- Star
- 36
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Please avoid duplicates
- [x] I checked [all open feature requests](https://github.com/gr2m/github-project/issues?q=is%3Aissue+is%3Aopen+label%3Afeature) and none of them matched my problem.
### What’s missing?
A custom error for when an item is not found
### Why?
currently a GraphqlResponseError is thrown, with an error looking like this
```js
{
type: 'VALIDATION',
path: [ 'BU' ],
locations: [ { line: 4, column: 11 } ],
message: 'The item does not exist in the project'
}
```
### Alternatives you tried
The error can be caught and identified by manually looking through all errors included in the response
### Would you be interested in contributing the feature?
- [ ] yes
Hướng dẫn đóng góp
Hướng nghiên cứu
Payload không nêu tên tệp, bài kiểm thử hay điểm vào nào. Hãy xác định truy vấn mục dự án hiện đang làm lộ GraphqlResponseError, kiểm tra phản hồi khi mục bị thiếu và xác minh rằng hành vi hoàn chỉnh sẽ phát sinh cụ thể GitHubProjectItemNotFoundError cho trường hợp đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github, javascript
- Lĩnh vực
- api, backend
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100