Brian Picciano
0b5bdf3dfb
Fix merr.Error.FullString
5 months ago
Brian Picciano
e8376ef263
Rename package name to code.betamike.com location
5 months ago
Brian Picciano
7c425e25cb
Fixes from golangci-lint
5 months ago
Brian Picciano
9567a98606
Move massert into internal, and simplify it a lot
...
The previous massert isn't that useful compared to testify, but it's
nice to have some assertion helpers in the repo which don't require a
sub-dependency.
5 months ago
Brian Picciano
ba9bc6c46c
refactor mlog and merr to handle and format error messages better
3 years ago
Brian Picciano
360d41e2b8
Refactor merr, remove almost everything else
3 years ago
Brian Picciano
f5cea76cb7
mtest/massert: rename a bunch of functions
5 years ago
Brian Picciano
4536db8968
merr: refactor Wrap/WrapSkip/New to take multiple contexts rather than annotations
5 years ago
Brian Picciano
4303da03cc
merr/mctx: move stack code into merr
5 years ago
Brian Picciano
e1e52db208
refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way
5 years ago
Brian Picciano
c6e29715b0
merr: implement WithKV
5 years ago
Brian Picciano
ddd26259b2
merr: make New take in optional key/value pairs for convenience
5 years ago
Brian Picciano
405120513f
merr: move With/GetValue to kv.go, make nil error behavior be explicitly defined and tested
5 years ago
Brian Picciano
56f3e71acd
merr: initial implementation, designed to replace merry and work nicely with mlog, while allowing support for multi-errors and other niceties in the future
5 years ago