libgit2

giterr_set_str

Deprecated
Version:

Sets the error message to the given string. This is an alias of git_error_set_str and is preserved for backward compatibility.

This function is deprecated, but there is no plan to remove this function at this time.

Deprecations

  • Use git_error_set_str

See

Signature

void giterr_set_str(int error_class, const char *string);

Parameters

int
In
error_class
const char *
In
string

Versions