diff options
| author | Shulhan <m.shulhan@gmail.com> | 2023-08-28 23:22:54 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2023-08-28 23:27:12 +0700 |
| commit | e417676254617e1e2e7bc68700bbade116295b62 (patch) | |
| tree | 5e3a4eba4eaa9b4f801c0121038a6e75a572127d /internal | |
| parent | b4ddeeda5bc71549846db71ba23e83ecb26f36ed (diff) | |
| download | go-x-crypto-client-wrap-error.mailed.tar.xz | |
crypto/ssh: return error from NewClientConn with "%w"client-wrap-error.mailed
By returning error with %w, the caller can check and convert the error
using errors.As, for example to knownhosts.KeyError.
Change-Id: I0529e2e935cd8075f87aa6f6049cee3323f82c06
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions
