libgit2 / libgit2/libgit2sharp
http exceptions are of LibGit2SharpException type
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Issues:
- 401
- 404
- unsupported URL protocol error
- unknown certificate check failure
Expected behavior
Either it should be specific type of exception or there should be a property of status code
Actual behavior
LibGit2SharpException type
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
.NET6
Windows 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the HTTP error-handling path in the C#/.NET 6 code and reproduce the 401, 404, unsupported-protocol, and certificate-check failures; done means callers can distinguish these failures by exception type or status-code property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100