github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/command/translatableerror/password_grant_type_logout_required_error.go (about) 1 package translatableerror 2 3 type PasswordGrantTypeLogoutRequiredError struct{} 4 5 func (PasswordGrantTypeLogoutRequiredError) Error() string { 6 return "Service account currently logged in. Use 'cf logout' to log out service account and try again." 7 } 8 9 func (e PasswordGrantTypeLogoutRequiredError) Translate(translate func(string, ...interface{}) string) string { 10 return translate(e.Error()) 11 }