ba0f3 / ssh2.nim

Async SSH, SCP and SFTP client for Nim, using libssh2 wrapper [WIP]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error handling

bluemax75 opened this issue · comments

The examples are missing a minimum of error checking. I tried to add AuthenticationException handling but could not use it because it is not exported.
The only way I could manage to handle errors in the connection setup was using IOError. This does not differentiate the errors that occur

oh yes, I forgot to export them. I will fix it asap