Commit 0984ea4
Anonymous
Implement std::error::Error for SocketParseError
SocketParseError does not implement std Error which means it can't be
used in standard ways like combining ? and anyhow.
This commit implements std::error::Error for SocketParseError
Hide the std::error::Error for SocketAddressParseError implementation
behind the "std" feature since it relies on the standard library.1 parent 8aae34e commit 0984ea4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1081 | 1084 | | |
1082 | 1085 | | |
1083 | 1086 | | |
| |||
0 commit comments