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