github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/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 }