github.com/thanhphan1147/cloudfoundry-cli@v7.1.0+incompatible/util/manifest/interpolation_error.go (about)

     1  package manifest
     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  }