Polyphase Game Engine
Loading...
Searching...
No Matches
GitErrorMap.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6
7class GitErrorMap
8{
9public:
10 struct ErrorInfo
11 {
12 std::string mFriendlyMessage;
13 std::string mSuggestedAction;
14 };
15
16 static ErrorInfo MapLibgit2Error(int errorCode, const char* errorMessage);
17 static ErrorInfo MapCliError(int exitCode, const std::string& stderrOutput);
18};
19
20#endif