|
libsshpp v0.1.7
Modern C++17 wrapper for libssh
|
#include <error.hpp>
Public Member Functions | |
| std::string | to_string () const |
| operator bool () const noexcept | |
Public Attributes | |
| std::error_code | code {} |
| std::string | message |
| const char * | operation = "" |
| SourceLocation | where {} |
Captures the libssh textual reason at the point of failure, before any other call can overwrite ssh_get_error(). See docs/design/03 ยง3.3.
| SSHPP_INLINE std::string sshpp::ErrorInfo::to_string | ( | ) | const |
|
inlineexplicitnoexcept |
| std::error_code sshpp::ErrorInfo::code {} |
| std::string sshpp::ErrorInfo::message |
| const char* sshpp::ErrorInfo::operation = "" |
| SourceLocation sshpp::ErrorInfo::where {} |