Anyone using github.com/pkg/errors for stack traces?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • errors

    Discontinued Simple error handling primitives

  • The pkg.go.dev page lists 14k+ projects importing it, but the Github repository has been archived which would seem to discourage use. I'm also not a huge fan of the naming conflict with the stdlib errors package. The README notes it went into maintenance mode but it appears this, too, has passed.

  • errors

    errors with stacktraces for go (by go-errors)

  • Is anyone using this package? Is it dead? If not, is there another good package or approach for generating stack traces for errors that you've found and liked? I've seen github.com/go-errors/errors which offers simple stack traces but does not seem to have great adoption. I feel like there must be a popular solution for this, besides rolling your own stack trace functions with the runtime lib.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • errors

    A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types. (by bnkamalesh)

  • errors

    Go stdlib errors package extension. (by tlog-dev)

  • I did the same :)

  • errors

    Go error library with error portability over the network (by cockroachdb)

  • https://github.com/cockroachdb/errors is the most featureful in this space, but is heavy if you don't need network portability, redaction, and all the other bells and whistles.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts