github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/util/v6manifestparser/interpolation_error.go (about)

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