A small package to make working with errors in Golang nicer. For use in personal projects.
err := errors.New("something went wrong: %v", value)
err := errors.NewOfKind(errors.ConfigError, "expected field was empty")
const invalidValueError errors.ErrorKind = "InvalidValueError"
err := errors.NewOfKind(invalidValueError, "expected X, got %#q", v)
err := errors.Mask(err)