github.com/loafoe/cli@v7.1.0+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  }