github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/api/cloudcontroller/ccerror/v2_job_failed_error.go (about) 1 package ccerror 2 3 import "fmt" 4 5 // V2JobFailedError represents a failed Cloud Controller Job. It wraps the error 6 // returned back from the Cloud Controller. 7 type V2JobFailedError struct { 8 JobGUID string 9 Message string 10 } 11 12 func (e V2JobFailedError) Error() string { 13 return fmt.Sprintf("Job (%s) failed: %s", e.JobGUID, e.Message) 14 }