github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+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 }