github.com/cloudfoundry/cli@v7.1.0+incompatible/actor/actionerror/no_space_targeted_error.go (about)

     1  package actionerror
     2  
     3  // NoSpaceTargetedError represents the scenario when a space is not targeted.
     4  type NoSpaceTargetedError struct {
     5  	BinaryName string
     6  }
     7  
     8  func (NoSpaceTargetedError) Error() string {
     9  	// The error message will be replaced by a translated message, returning the
    10  	// empty string does not add to the translation files.
    11  	return ""
    12  }