Introduce custom error types

Aperta
#7 5 commenti 1 reazione 2 assegnatari Vedi su GitHub

@const-cloudinary ci sta già lavorando.

Dal 9/2/2021.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Explain your use case

All the errors from SDK now returns in raw format.
Moreover - they are bubbling up from the very bottom level to the client level.

Describe the problem you’re trying to solve

This errors might be everything - starting from the HTTP errors (can't connect to the server, wrong credentials, smth else) to JSON umarshaling problems.

Does the client really need such verbose level of errors and does he (she) really need to know that we've got some problem during JSON unmarshaling?

Do you have a proposed solution?

Lingua principale
Go
Stelle
51
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudinary/cloudinary-go

Tutte le issue di cloudinary/cloudinary-go

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.