Go Error Handling

Open-source Go projects categorized as Error Handling

Top 23 Go Error Handling Projects

  • validator

    :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

    Project mention: API completa em Golang - Parte 7 | dev.to | 2024-02-03
  • eris

    Error handling library with readable stack traces and flexible formatting support 🎆 (by rotisserie)

  • 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.

  • errorx

    A comprehensive error handling library for Go

  • tracerr

    Golang errors with stack trace and source fragments.

    Project mention: errors alternatives - tracerr and err2 | libhunt.com/r/difof/errors | 2023-12-06
  • errlog

    Reduce debugging time. Use static & stack-trace analysis to identify the error immediately.

  • data-structures

    Go datastructures. (by timtadh)

  • emperror

    The Emperor takes care of all errors personally

  • 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.

  • slog-multi

    🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

  • oops

    🔥 Error handling library with context, assertion, stack trace and source fragments (by samber)

  • fault

    Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors. (by Southclaws)

  • slog-formatter

    🚨 slog: Attribute formatting

  • slog-gin

    🚨 Gin middleware for slog logger

  • 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

    A simple error library that supports error stacks, error codes, and error chains. (by morrisxyang)

    Project mention: A simple friendly error library that supports error codes, error stacks, and error chains. | /r/golang | 2023-07-10
  • err2

    Automatic and modern error handling package for Go

    Project mention: errors alternatives - tracerr and err2 | libhunt.com/r/difof/errors | 2023-12-06
  • problem-details

    ProblemDetails is a Error Handler base on [RFC 7807] standard to map our error to standardized error payload to client.

  • errors

    clear go error wrapping with caller (by go-faster)

  • slog-sentry

    🚨 slog: Sentry handler

  • exception

    A simple utility package for exception handling with try-catch in Golang

  • resperr

    Go package to associate status codes and messages with errors

    Project mention: Error handling and serializing | /r/golang | 2023-05-07

    You need to create an error domain. Read https://blog.carlmjohnson.net/post/2020/working-with-errors-as/ or watch a video https://blog.carlmjohnson.net/post/2022/fosdem-talk-error-domain/ .

  • must

    Generic error handling with panic, recover, and defer.

  • simplerr

    Advanced Go error handling, made simple

  • std

    An enhanced version of the standard library based the new Generics feature. (by go-board)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-03.

Go Error Handling related posts

Index

What are some of the best open-source Error Handling projects in Go? This list will help you:

Project Stars
1 validator 15,456
2 eris 1,399
3 errorx 1,077
4 tracerr 909
5 errlog 457
6 data-structures 415
7 emperror 327
8 slog-multi 241
9 oops 166
10 fault 149
11 slog-formatter 82
12 slog-gin 71
13 errors 61
14 errors 55
15 err2 49
16 problem-details 46
17 errors 32
18 slog-sentry 31
19 exception 27
20 resperr 22
21 must 21
22 simplerr 19
23 std 19
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com