libgit2/libgit2sharp — pull request #219 by xpaulbettsx (2012-09-26 18:54:23+00:00)
Title: Add Error Category / Error Code to exception

Sometimes the error code / error category can be useful for detecting certain failure cases and deciding what to do with them - GitHub for Windows uses this information to determine if a repo is corrupted for example.