data-structures: github.com/timtadh/data-structures/errors Index | Files

package errors

import "github.com/timtadh/data-structures/errors"

Index

Package Files

errors.go

Variables

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,
}
var SkipLogging map[string]bool

func BpTreeError Uses

func BpTreeError(a ...interface{}) error

func Errorf Uses

func Errorf(format string, args ...interface{}) error

func InvalidKey Uses

func InvalidKey(a ...interface{}) error

func Logf Uses

func Logf(level, format string, args ...interface{})

func NegativeSize Uses

func NegativeSize(a ...interface{}) error

func NotFound Uses

func NotFound(a ...interface{}) error

func NotFoundInBucket Uses

func NotFoundInBucket(a ...interface{}) error

func TSTError Uses

func TSTError(a ...interface{}) error

type Error Uses

type Error struct {
    Errs  []error
    Stack []byte
}

func (*Error) Chain Uses

func (e *Error) Chain(err error) error

func (*Error) Error Uses

func (e *Error) Error() string

func (*Error) String Uses

func (e *Error) String() string

type ErrorFmter Uses

type ErrorFmter func(a ...interface{}) error

Package errors imports 4 packages (graph) and is imported by 16 packages. Updated 2016-07-27. Refresh now. Tools for package owners.