github.com/sleungcy-sap/cli@v7.1.0+incompatible/command/translatableerror/no_domains_found_error.go (about)

     1  package translatableerror
     2  
     3  import "fmt"
     4  
     5  type NoDomainsFoundError struct {
     6  }
     7  
     8  func (NoDomainsFoundError) Error() string {
     9  	return fmt.Sprintf("No private or shared domains found in this organization")
    10  }
    11  
    12  func (e NoDomainsFoundError) Translate(translate func(string, ...interface{}) string) string {
    13  	return translate(e.Error())
    14  }