Propagating Openapi SDK errors in existing Result pipeline
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- backend-api-design
Direzione di ricerca
Start by reading the SDK’s error types and the documentation for its existing Result-based request pipeline; the issue does not name specific files or tests. Determine how SDK errors can be converted into a caller’s custom error type and document a working integration example. A linked open pull request already addresses this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In a project with existing error handling:
fn fetch_users() -> Result<Vec<User>, MyError> {
let users = client.get_users().await?;
Ok(users)
}
Errors from SDK do not convert cleanly to MyError. How to integrate Openapi SDK errors into my project’s custom error type?
- Lingua principale
- Rust
- Stelle
- 29
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openapi/openapi-rust-sdk
-
documentation enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
openapi/openapi-rust-sdk#10 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
documentation good first issue
Difficoltà 4/5 1-2 giorni Idoneità per principianti 35/100
-
help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
Tutte le issue di openapi/openapi-rust-sdk
Issue simili
-
documentation good first issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
sujithputta02/Esapay#13 ·
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
topgrade-rs/topgrade#2419 ·
I maintainer di solito rispondono entro 1 giorno
-
review-bot
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
midagedev/bloomery#318 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/infra good first issue type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
cristim/AztecCraft#92 ·
I maintainer di solito rispondono entro 1 giorno
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffectedForse già presa @akhil9tiet l’ha presa oggi. Apertabug CLI windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openai/codex#54465 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno