summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMatteo Bigoi <bigo@crisidev.org>2020-11-22 17:16:40 +0000
committerGitHub <noreply@github.com>2020-11-22 17:16:40 +0000
commitc197df7df4045abdc2d4e8077781249dd83dbdd1 (patch)
treeacac6348029eef9c6fc67adf45cd87755117679a /src/lib.rs
parent1c5bc43ace2c32f37dfc6a308d8b6d687c2dc860 (diff)
downloadssh2-rs-c197df7df4045abdc2d4e8077781249dd83dbdd1.zip
Handle more precise SFTP error codes (#203)
* Handle more precise SFTP error codes * Allow set-env in macos github action * Bump to 0.9 since the Error interface has changed, hence this is a breaking change
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 823c24c..47467c7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -229,7 +229,7 @@ use std::ffi::CStr;
pub use agent::{Agent, PublicKey};
pub use channel::{Channel, ExitSignal, ReadWindow, Stream, WriteWindow};
-pub use error::Error;
+pub use error::{Error, ErrorCode};
pub use knownhosts::{Host, KnownHosts};
pub use listener::Listener;
use session::SessionInner;