#include <include/libssh/libsshpp.hpp>
Public Member Functions | |
| int | getCode () |
| returns the Error code | |
| std::string | getError () |
| returns the error message of the last exception | |
This object can be thrown by several SSH functions that interact with the network, and may fail because of socket, protocol or memory errors.
| int ssh::SshException::getCode | ( | ) | [inline] |
returns the Error code
SSH_REQUEST_DENIED Request was denied by remote host
| std::string ssh::SshException::getError | ( | ) | [inline] |
returns the error message of the last exception
1.4.7