github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/actionerror/multiple_uaa_users_found_error.go (about) 1 package actionerror 2 3 import ( 4 "fmt" 5 "strings" 6 ) 7 8 type MultipleUAAUsersFoundError struct { 9 Username string 10 Origins []string 11 } 12 13 func (e MultipleUAAUsersFoundError) Error() string { 14 origins := strings.Join(e.Origins, ", ") 15 return fmt.Sprintf("The username '%s' is found in multiple origins: %s.", e.Username, origins) 16 }