github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/util/manifestparser/interpolation_error.go (about)

     1  package manifestparser
     2  
     3  import (
     4  	"fmt"
     5  	"strings"
     6  )
     7  
     8  type InterpolationError struct {
     9  	Err error
    10  }
    11  
    12  func (e InterpolationError) Error() string {
    13  	return fmt.Sprint(strings.Replace(e.Err.Error(), "\n", ", ", -1))
    14  }