coder / coder/envbuilder

Fix mixed use of `fmt.Errorf` and `xerrors.Errorf`

Aperta
#367 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
300
Fork
64
Merge medio
20m
PR unite (30g)
1

Descrizione

We should use unified error handling in the project. For simplicity we should just use `fmt.Errorf`.

---

nit: I see there is a mix of `fmt.Errorf` and `xerrors.Errorf`. Should we unify them?

_Originally posted by @mtojek in https://github.com/coder/envbuilder/pull/359#discussion_r1778192905_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.