Preserve libgit2 error codes

Throw a system_error with a libgit2_category error category for errors
that propagate from libgit2.
This commit is contained in:
Oliver Hamlet
2016-10-08 12:10:21 +01:00
parent 5cf7ae14e4
commit 711ba9b59d
5 changed files with 33 additions and 4 deletions
+2
View File
@@ -56,3 +56,5 @@ LOOT uses error category objects to identify errors with codes that originate in
lower-level libraries.
.. doxygenfunction:: loot::libloadorder_category
.. doxygenfunction:: loot::libgit2_category