github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/api/cloudcontroller/ccerror/job_failed_error.go (about) 1 package ccerror 2 3 import "fmt" 4 5 // JobFailedError represents a failed Cloud Controller Job. It wraps the error 6 // returned back from the Cloud Controller. 7 type JobFailedError struct { 8 JobGUID string 9 Message string 10 } 11 12 func (e JobFailedError) Error() string { 13 return fmt.Sprintf("Job (%s) failed: %s", e.JobGUID, e.Message) 14 }