simple but powerful errors library that allows easy wrapping and stacktracing of errors
Find a file
2025-12-11 15:33:52 +00:00
build_caller.go all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
build_nocaller.go rewrite to have consistent trace behaviour, add support for calling func prefix 2023-11-28 14:59:37 +00:00
build_notrace.go all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
build_trace.go all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
errors.go even faster error values 2025-12-11 15:33:52 +00:00
errors_test.go all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
go.mod all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
go.sum all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
LICENSE total rewrite 2022-04-10 22:22:23 +01:00
once.go rewrite to have consistent trace behaviour, add support for calling func prefix 2023-11-28 14:59:37 +00:00
README.md rewrite to have consistent trace behaviour, add support for calling func prefix 2023-11-28 14:59:37 +00:00
runtime.go all round improvements including a bunch of manual monomorphization of generic calls, more customizables, only gather stacktrace when called 2025-12-09 14:52:03 +00:00
standard.go even faster error values 2025-12-11 15:33:52 +00:00
standard_test.go add AsV2() function, bring back standard library As() 2023-11-28 16:10:03 +00:00
value.go even faster error values 2025-12-11 15:33:52 +00:00
value_test.go even faster error values 2025-12-11 15:33:52 +00:00

go-errors

powerful errors library with a simple API that allows:

  • accessing all the standard library errors functions
  • wrapping of errors
  • adding values to errors, in a similar manner to contexts
  • including calling function prefix when tag=errcaller is set
  • including stacktrace with error when tag=errtrace is set