github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/actor/actionerror/revision_ambiguous.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // RevisionAmbiguousError is returned when multiple revisions with the same
     6  // version are returned
     7  type RevisionAmbiguousError struct {
     8  	Version int
     9  }
    10  
    11  func (e RevisionAmbiguousError) Error() string {
    12  	return fmt.Sprintf("More than one revision '%d' found", e.Version)
    13  }