libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.15k stars 887 forks source link

http exceptions are of LibGit2SharpException type #1949

Open ali-bhutto opened 2 years ago

ali-bhutto commented 2 years ago

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

ali-bhutto commented 2 years ago

Is there any update on this?