Fixed git_error not having an API error code.

This commit is contained in:
Oliver Hamlet
2014-11-01 12:39:14 +00:00
parent 0c4441cb9c
commit 573bd38757
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ const unsigned int loot_error_invalid_args = loot::error::invalid_args;
const unsigned int loot_error_no_tag_map = loot::error::no_tag_map;
const unsigned int loot_error_path_not_found = loot::error::path_not_found;
const unsigned int loot_error_no_game_detected = loot::error::no_game_detected;
const unsigned int loot_error_git_error = loot::error::git_error;
const unsigned int loot_error_windows_error = loot::error::windows_error;
const unsigned int loot_error_sorting_error = loot::error::sorting_error;
const unsigned int loot_return_max = loot_error_sorting_error;
+1
View File
@@ -182,6 +182,7 @@ extern "C"
LOOT_API extern const unsigned int loot_error_no_tag_map; /**< No Bash Tag map has been generated yet. */
LOOT_API extern const unsigned int loot_error_path_not_found; /**< A file or folder path could not be found. */
LOOT_API extern const unsigned int loot_error_no_game_detected; /**< The given game could not be found. */
LOOT_API extern const unsigned int loot_error_git_error; /**< An error occurred while performing a git operation (updating or getting the masterlist version). */
LOOT_API extern const unsigned int loot_error_windows_error; /**< An error occurred during a call to the Windows API. */
LOOT_API extern const unsigned int loot_error_sorting_error; /**< An error occurred while sorting plugins. */