github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/command/translatableerror/no_compatible_binary_error.go (about)

     1  package translatableerror
     2  
     3  type NoCompatibleBinaryError struct {
     4  }
     5  
     6  func (e NoCompatibleBinaryError) Error() string {
     7  	return "Plugin requested has no binary available for your platform."
     8  }
     9  
    10  func (e NoCompatibleBinaryError) Translate(translate func(string, ...interface{}) string) string {
    11  	return translate(e.Error())
    12  }