Structure to store extra details of the last error that occurred
Generic return codes
Error classes
Return the last git_error
object that was generated for the current thread or NULL if no error has occurred
Clear the last library error that occurred for this thread
Get the last error data and clear it
Set the error message string for this thread
Set the error message to a special value for memory allocation failure