func InterpretListError(err error, qualifiedResource unversioned.GroupResource) error {
	switch {
	case storage.IsNotFound(err):
		return errors.NewNotFound(qualifiedResource, "")
	case storage.IsUnreachable(err):
		return errors.NewServerTimeout(qualifiedResource, "list", 2) // TODO: make configurable or handled at a higher level
	default:
		return err
	}
}
// InterpretListError converts a generic error on a retrieval
// operation into the appropriate API error.
InterpretListError converts a generic error on a retrieval
operation into the appropriate API error.
// InterpretListError converts a generic error on a retrieval // operation into the appropriate API error .
func InterpretListError(err error, qualifiedResource unversioned.GroupResource) error {
	switch {
	case storage.IsNotFound(err):
		return errors.NewNotFound(qualifiedResource, "")
	case storage.IsUnreachable(err):
		return errors.NewServerTimeout(qualifiedResource, "list", 2) 
	default:
		return err
	}
}
func InterpretListError ( err error , qualifiedResource unversioned . GroupResource ) error { switch { case storage . IsNotFound ( err ) : return errors . NewNotFound ( qualifiedResource , " " ) case storage . IsUnreachable ( err ) : return errors . NewServerTimeout ( qualifiedResource , " " , 2 ) default : return err } }
InterpretListError converts a generic error on a retrieval
operation into the appropriate API error.
InterpretListError converts a generic error on a retrieval operation into the appropriate API error .
// TODO: make configurable or handled at a higher level