errors package - github.com/timtadh/data-structures/errors - Go Packages

This section is empty.

View Source

var Errors map[string]ErrorFmter = map[string]ErrorFmter{
	"not-found":           NotFound,
	"not-found-in-bucket": NotFoundInBucket,
	"invalid-key":         InvalidKey,
	"tst-error":           TSTError,
	"negative-size":       NegativeSize,
	"bptree-error":        BpTreeError,
}
func BpTreeError(a ...interface{}) error
func InvalidKey(a ...interface{}) error
func Logf(level, format string, args ...interface{})
func NegativeSize(a ...interface{}) error
func NotFound(a ...interface{}) error
func NotFoundInBucket(a ...interface{}) error
func TSTError(a ...interface{}) error
type Error struct {
	Errs  []error
	Stack []byte
}
type ErrorFmter func(a ...interface{}) error