github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/api/cloudcontroller/ccerror/job_failed_no_error.go (about)

     1  package ccerror
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  // V3JobFailedError represents a failed Cloud Controller Job. It wraps the error
     8  // returned back from the Cloud Controller.
     9  type JobFailedNoErrorError struct {
    10  	JobGUID string
    11  }
    12  
    13  func (e JobFailedNoErrorError) Error() string {
    14  	return fmt.Sprintf("Job (%s) failed with no error. This is unexpected, contact your operator for details.", e.JobGUID)
    15  }