github.com/loafoe/cli@v7.1.0+incompatible/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 }