func IsLoadingError(err error) bool {
	return isKindError(err, LoadingErrorKind)
}
IsLoadingError returns true only if given error represents the loading error kind
package addon
import "github.com/pkg/errors"
type Kind int
const (
	Unknown Kind = iota
	LoadingErrorKind
	FetchingErrorKind
)
func (r Kind) String() string {
	switch r {
	case LoadingErrorKind:
		return "LoadingError"
	case FetchingErrorKind:
		return "FetchingError"
	case Unknown:
		return "UnknownError"
	default:
		return ""
	}
}
var _ error = &Error{}
type Error struct {
	kind Kind
	err  error
}
func (e *Error) Error() string {
	return e.err.Error()
}
func (e *Error) Kind() Kind {
	return e.kind
}
func NewLoadingError(err error) error {
	return &Error{
		kind: LoadingErrorKind,
		err:  err,
	}
}
func NewFetchingError(err error) error {
	return &Error{
		kind: FetchingErrorKind,
		err:  err,
	}
}