github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+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  }