Clear the last library error that occurred for this thread
Set the error message string for this thread, using printf
-style formatting
Set the error message string for this thread git_error_set
but takes a static string instead of a printf
-style format.
Set the error message to a special value for memory allocation failure