| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR implements standardized error definitions to allow clients to check for specific error conditions using errors.Is(). It addresses issue #365 by defining two exported error variables (ErrCertNotAvailable and ErrCertTimeout) and updating error returns throughout the handshake code to use these standardized errors.
Changes:
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| handshake.go | Defines two new error variables and updates 5 error return locations to use them with proper error wrapping |
| handshake_test.go | Adds import for errors package and adds test assertion to verify ErrCertNotAvailable is properly detectable |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #365