github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/actor/actionerror/domains_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // NoDomainsFoundError is returned when there are no private or shared domains
     6  // accessible to an organization.
     7  type NoDomainsFoundError struct {
     8  	OrganizationGUID string
     9  }
    10  
    11  func (e NoDomainsFoundError) Error() string {
    12  	return fmt.Sprintf("No private or shared domains found for organization (GUID: %s)", e.OrganizationGUID)
    13  }