github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/cf/requirements/failing.go (about)

     1  package requirements
     2  
     3  import "errors"
     4  
     5  type Failing struct {
     6  	Message string
     7  }
     8  
     9  func (r Failing) Execute() error {
    10  	return errors.New(r.Message)
    11  }