repo_description: 🧊 The next generation Package Manager for Kubernetes 📦 Featuring a GUI and a CLI. Glasskube packages are dependency aware, GitOps ready and can get automatic updates via a central public package repository.
repo_topics: cloud-native cncf cobra cobra-cli containers devops devops-tools docusaurus giscuss glasskube go golang htmx kubebuilder kubernetes kubernetes-operator package package-manager
code: package util
  
  import "errors"
  
  func GetRootCause(err error) error {
  	unwrapped := errors.Unwrap(err)
  	if unwrapped != nil {
  		return GetRootCause(unwrapped)
  	} else {
  		return err
  	}
  }
  