~/talk

Standardizing Errors in Go: A Practical Guide with Dapr

Talkat GopherCon 2024 · 2024-07-07..07-10· [microservices, distributed-systems]
links:none on file
slides:none on file

Dapr’s errors package (dapr/kit/errors) implements the gRPC Richer Error Model and Google API Errors Model using a builder pattern that creates immutable, enriched errors; it requires ErrorInfo and commonly emits ResourceInfo so callers get app ID, resource type and metadata. Dapr is the 10th largest CNCF project, 53% of users report debugging is hard, and the package is already used in a pubsub example (fake Kafka) to return actionable, one-click friendly error details that improve troubleshooting.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39Dapr
  3. 1:42Standardizing Errors
  4. 2:31Richer Air Model
  5. 3:27PubSub API
  6. 4:10Enriching the API
  7. 6:38Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.