Go Errors

Open-source Go projects categorized as Errors

Top 23 Go Error Projects

  • goutil

    💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go 常用的一些工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等

  • Project mention: Release v0.6.10 · gookit/goutil - 💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. | /r/golang | 2023-07-04
  • 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
  • eris

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

  • Project mention: Don't Return Err in Go | news.ycombinator.com | 2024-05-21

    Golang error handling is terrible by default. The lack of sum types also make it hard to know what errors a function might return and libraries rarely wrap their errors. There also isn’t any stack trace by default which makes it hard to find the original source of the error.

    Check out https://github.com/rotisserie/eris. It really is a lifesaver

  • errorx

    A comprehensive error handling library for Go

  • multierr

    Combine one or more Go errors together

  • tracerr

    Golang errors with stack trace and source fragments.

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

    🚧 Pretty server's error pages in the docker image & git repository (for traefik, k8s, nginx and so on) (by tarampampam)

  • Project mention: ☸️ Kubernetes NGINX Ingress Controller: 10+ Complementary Configurations for Web Applications | dev.to | 2023-10-16

    controller: config: custom-http-errors: 404,408,500,501,502,503,504,505 # Prepackaged default error pages from https://github.com/tarampampam/error-pages/wiki/Kubernetes-&-ingress-nginx # multiple themes here: https://tarampampam.github.io/error-pages/ defaultBackend: enabled: true image: repository: ghcr.io/tarampampam/error-pages tag: 2.21 # latest as of 01/04/2023 here: https://github.com/tarampampam/error-pages/pkgs/container/error-pages extraEnvs: - name: TEMPLATE_NAME value: lost-in-space # one of: app-down, cats, connection, ghost, hacker-terminal, l7-dark, l7-light, lost-in-space, matrix, noise, shuffle - name: SHOW_DETAILS # Optional: enables the output of additional information on error pages value: "false"

  • slog-multi

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

  • SaaSHub

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

    SaaSHub logo
  • util

    A collection of useful utility functions (by shomali11)

  • periskop

    Exception Monitoring Service

  • fault

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

  • 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

  • simplerr

    Advanced Go error handling, made simple

  • errors

    🫠 A drop-in replacement for Go errors, with some added sugar! Error handling in Go made easy with codes, messages and more. Failure is your domain! (by ainsleyclark)

  • ez

    Minimalistic package for handling Go errors in an easy way (by Vanclief)

  • Project mention: Show HN: Error return traces for Go, inspired by Zig | news.ycombinator.com | 2023-11-29

    While from a first instance, this package seems a bit overkill, I think the idea is interesting and is something that can be improved for Go.

    I also felt that Go errors where too bare-bones, so I developed a small package (https://github.com/Vanclief/ez) based on an awesome post that I saw here once. I use this package in all Golang code I touch.

  • slog-datadog

    🚨 slog: Datadog handler

  • pears-go

    harvest Go errors with ease

  • problem

    Library to assist with RFC 7807 implementation for Go web services (by lpar)

  • semerr

    A way of dealing with Golang errors

  • SaaSHub

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

    SaaSHub logo
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).

Go Errors discussion

Log in or Post with

Go Errors related posts

  • Don't Return Err in Go

    2 projects | news.ycombinator.com | 21 May 2024
  • errors alternatives - tracerr and err2

    3 projects | 6 Dec 2023
  • Will go ever get C/Java style exceptions?

    2 projects | /r/golang | 5 Feb 2023
  • Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors

    4 projects | /r/golang | 30 Oct 2022
  • ProblemDetails: Error Handler base on RFC 7807 standard for Go.

    1 project | /r/coolgithubprojects | 21 Oct 2022
  • ProblemDetails: Error Handler base on RFC 7807 standard for Go.

    1 project | /r/golang | 21 Oct 2022
  • A Simplerr way to use errors in Go!

    1 project | /r/golang | 15 Oct 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 Jun 2024
    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. Learn more →

Index

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

Project Stars
1 goutil 1,870
2 eris 1,428
3 errorx 1,101
4 multierr 947
5 tracerr 926
6 error-pages 772
7 slog-multi 292
8 util 286
9 periskop 181
10 fault 150
11 errors 61
12 errors 55
13 err2 53
14 problem-details 47
15 errors 35
16 slog-sentry 35
17 simplerr 20
18 errors 12
19 ez 11
20 slog-datadog 8
21 pears-go 7
22 problem 6
23 semerr 6

Sponsored
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.
www.influxdata.com