github.com/cloudfoundry/cli@v7.1.0+incompatible/actor/actionerror/organization_not_found_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // OrganizationNotFoundError represents the error that occurs when the 6 // organization is not found. 7 type OrganizationNotFoundError struct { 8 GUID string 9 Name string 10 } 11 12 func (e OrganizationNotFoundError) Error() string { 13 return fmt.Sprintf("Organization '%s' not found.", e.Name) 14 }