libgit2 / libgit2/libgit2sharp

http exceptions are of LibGit2SharpException type

Open
#1,949 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

Issues:

  1. 401
  2. 404
  3. unsupported URL protocol error
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.