Call this function when an error code is returned from a git function.
It will retrieve the last error and throw a GitException.
Note: assert or in blocks should be used to verify arguments (such as strings)
before calling Git functions since Git itself does not check pointers for null.
Passing null pointers to Git functions usually results in access violations.
Call this function when an error code is returned from a git function. It will retrieve the last error and throw a GitException.
Note: assert or in blocks should be used to verify arguments (such as strings) before calling Git functions since Git itself does not check pointers for null. Passing null pointers to Git functions usually results in access violations.