github.com/sleungcy-sap/cli@v7.1.0+incompatible/command/translatableerror/no_hostname_shared_domain_error.go (about) 1 package translatableerror 2 3 type NoHostnameAndSharedDomainError struct{} 4 5 func (NoHostnameAndSharedDomainError) Error() string { 6 return "The route is invalid: a hostname is required for shared domains." 7 } 8 9 func (e NoHostnameAndSharedDomainError) Translate(translate func(string, ...interface{}) string) string { 10 return translate(e.Error()) 11 }