Generic return codes
Error classes
Clear the last library error that occurred for this thread.
Return the last git_error object that was generated for the current thread.
Set the error message to a special value for memory allocation failure.
Set the error message string for this thread.
Structure to store extra details of the last error that occurred.