github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/command/translatableerror/manual_client_credentials_error.go (about)

     1  package translatableerror
     2  
     3  type ManualClientCredentialsError struct{}
     4  
     5  func (e ManualClientCredentialsError) Error() string {
     6  	return "Error: Support for manually writing your client credentials to config.json has been removed. For similar functionality please use `cf auth --client-credentials`."
     7  }
     8  
     9  func (e ManualClientCredentialsError) Translate(translate func(string, ...interface{}) string) string {
    10  	return translate(e.Error())
    11  }