Closed
Description
I was writing code to catch GIT_ENOTAREPO to check if the current directory was a GIt repo or not, and it seemed like it would be nice to add a nullable error code property to LibGit2Exception
, and in Ensure.Success
set the property to the error code that comes from the native call. I'm happy to send a pull request, but figure I should raise it for discussion first.