1
0
Fork
You've already forked go-errors
0
simple but powerful errors library that allows easy wrapping and stacktracing of errors
Go 100%
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