libgit2.errors

Members

Enums

GIT_ERROR_NONE
anonymousenum GIT_ERROR_NONE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_OK
anonymousenum GIT_OK
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_error_code
enum git_error_code

Generic return codes

git_error_t
enum git_error_t

Error classes

Functions

git_error_clear
void git_error_clear()

Clear the last library error that occurred for this thread.

git_error_last
const(.git_error)* git_error_last()

Return the last git_error object that was generated for the current thread.

git_error_set
void git_error_set(int error_class, const(char)* fmt, ...)

Set the error message string for this thread, using printf-style formatting.

git_error_set_oom
void git_error_set_oom()

Set the error message to a special value for memory allocation failure.

git_error_set_str
int git_error_set_str(int error_class, const(char)* string_)

Set the error message string for this thread. This function is like git_error_set but takes a static string instead of a printf-style format.

Structs

git_error
struct git_error

Structure to store extra details of the last error that occurred.

Meta

License

GPL-2.0(Linking Exception)