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