forge
Tahinli/forge · crates/forge-ssh/src/error.rs
Explore
Log in
Tahinli
/forge
public
0 watching
★ 0
Code
Issues
0
Pull requests
0
Commits
Branches
Tags
Releases
CI
Wiki
forge
crates
forge-ssh
src
error.rs
248 bytes
History
Raw
Download
1
//!
Errors for the SSH layer.
2
3
#
[
derive
(
Debug
,
thiserror::Error
)
]
4
pub
enum
Error
{
5
#
[
error
(
"
io error: {0}
"
)
]
6
Io
(
#
[
from
]
std
::
io
::
Error
)
,
7
#
[
error
(
"
ssh error: {0}
"
)
]
8
Ssh
(
String
)
,
9
}
10
11
pub
type
Result
<
T
>
=
std
::
result
::
Result
<
T, Error
>
;