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
7
class
GitErrorMap
8
{
9
public
:
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
Engine
Source
Editor
Git
GitErrorMap.h
Generated by
1.9.8