github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/actionerror/revision_not_found.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // RevisionNotFoundError is returned when a requested revision is not
     6  // found.
     7  type RevisionNotFoundError struct {
     8  	Version int
     9  }
    10  
    11  func (e RevisionNotFoundError) Error() string {
    12  	return fmt.Sprintf("Revision '%d' not found", e.Version)
    13  }