surullabs/fault
View on GitHub ↗ ★ 4 Go
Fault is a tiny library that helps with package internal error handling in Go.
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2014-05-13 · latest 2015-05-21
20082026
-
…I usually prefer to not use panic-defer-recover, with if checks providing more clarity. [1] https://github.com/surullabs/fault [2] http://golang.org/doc/effective_go.html#recover
comment by vendakka · 2015-05-21 · in Why should I have written ZeroMQ in C, not C++ (2012) -
…allows for better documentation where API users know what failure modes to expect. [1] https://godoc.org/github.com/surullabs/fault [2] https://golang.org/doc/effective_go.html#recover
comment by vendakka · 2014-12-07 · in When in Go, do as Gophers do -
…trace wrapper I couldn't remember the name. I ended up adding a function to an error library I maintain (github.com/surullabs/fault). When I find some time I'll pull out my code and start using either errgo or the SpaceMonkey version.
comment by vendakka · 2014-05-13 · in Open-Source Go Libraries