github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/actor/actionerror/multiple_spaces_found_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // MultipleSpacesFoundError represents the scenario when the cloud 6 // controller returns multiple spaces when filtering by name. This is a 7 // far out edge case and should not happen. 8 type MultipleSpacesFoundError struct { 9 Name string 10 OrgGUID string 11 } 12 13 func (e MultipleSpacesFoundError) Error() string { 14 return fmt.Sprintf("Multiple spaces found matching organization GUID '%s' and name '%s'", e.OrgGUID, e.Name) 15 }