kubo/core
Brian Tiger Chow 2bbfe4d56f debug(core, datastore, daemon) wrap errors
@jbenet @whyrusleeping @mappum

very helpful for tracking down errors. the stack traces are only
shown when debug mode is visible. They function best when caught at the
source.

I propose we use this errors package as a drop-in replacement for
fmt.Errorf and errors.New in all of our code, and use errors.Wrap for
external errors as they emerge from others' libraries.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-17 22:36:18 -08:00
..
commands restore add.go from master 2014-11-14 03:17:24 -08:00
commands2 mount: if already mounted, unmount before new attempt 2014-11-16 02:22:53 -08:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
core_test.go feat(peer) add Type (Unspecified, Local, Remote) 2014-11-16 07:00:58 -08:00
core.go debug(core, datastore, daemon) wrap errors 2014-11-17 22:36:18 -08:00
datastore.go debug(core, datastore, daemon) wrap errors 2014-11-17 22:36:18 -08:00
mock.go feat(util) add datastore Closer Wrapper 2014-11-17 22:36:17 -08:00