github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  }