golang-samber-oops
samber/cc-skills-golang
samber/oops is a robust library that transforms standard Go error handling by adding crucial structured context. Instead of generic error messages, it allows developers to attach key-value attributes, stack traces, error codes, and user-facing messages directly to the error object. This is essential for modern microservices, allowing APM tools (Datadog, Sentry) and on-call engineers to diagnose failures accurately by understanding the full context of the failure, such as the domain, user ID, and specific query that failed.