github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/command/translatableerror/http_health_check_invalid_error.go (about) 1 package translatableerror 2 3 type HTTPHealthCheckInvalidError struct { 4 } 5 6 func (HTTPHealthCheckInvalidError) Error() string { 7 return "Health check type must be 'http' to set a health check HTTP endpoint." 8 } 9 10 func (e HTTPHealthCheckInvalidError) Translate(translate func(string, ...interface{}) string) string { 11 return translate(e.Error()) 12 }