github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/actionerror/not_logged_in_error.go (about)

     1  package actionerror
     2  
     3  // NotLoggedInError represents the scenario when the user is not logged in.
     4  type NotLoggedInError struct {
     5  	BinaryName string
     6  }
     7  
     8  func (NotLoggedInError) 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  }