github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/util/manifest/global_fields_error.go (about)

     1  package manifest
     2  
     3  import (
     4  	"fmt"
     5  	"strings"
     6  )
     7  
     8  type GlobalFieldsError struct {
     9  	Fields []string
    10  }
    11  
    12  func (e GlobalFieldsError) Error() string {
    13  	return fmt.Sprintf("unsupported global fields: %s", strings.Join(e.Fields, ", "))
    14  }