github.com/elopio/cli@v6.21.2-0.20160902224010-ea909d1fdb2f+incompatible/actors/v2actions/errors.go (about) 1 package v2actions 2 3 import "fmt" 4 5 type ErrorInvalidCommand struct { 6 CommandName string 7 } 8 9 func (err ErrorInvalidCommand) Error() string { 10 return fmt.Sprintf("'%s' is not a registered command. See 'cf help'", err.CommandName) 11 }