github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/command/translatableerror/ssh_unable_to_authenticate_error.go (about)

     1  package translatableerror
     2  
     3  type SSHUnableToAuthenticateError struct{}
     4  
     5  func (SSHUnableToAuthenticateError) Error() string {
     6  	return "Error opening SSH connection: You are not authorized to perform the requested action."
     7  }
     8  
     9  func (e SSHUnableToAuthenticateError) Translate(translate func(string, ...interface{}) string) string {
    10  	return translate(e.Error())
    11  }