github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+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  }