gr2m / gr2m/github-project

Throw `GitHubProjectItemNotFoundError` when project item could not be found in query

Abierto
#145 1 comentario 0 reacciones 0 asignados Ver en GitHub
feature Pull Request welcome
Lenguaje dominante
JavaScript
Estrellas
36
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The payload does not name a file, test, or entry point. Locate the project-item query that currently surfaces GraphqlResponseError, inspect its missing-item response, and verify that the completed behavior raises GitHubProjectItemNotFoundError specifically for that case.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, javascript
Área
api, backend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.