github.com/sleungcy/cli@v7.1.0+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 }