refactor: Use AbortError in FatalError

This is needed for consistency with AbortNode
This commit is contained in:
MarcoFalke
2020-06-16 11:02:46 -04:00
parent 4b30c41b4e
commit fa02b47313
3 changed files with 3 additions and 6 deletions

View File

@@ -122,6 +122,7 @@ void InitWarning(const bilingual_str& str);
/** Show error message **/
bool InitError(const bilingual_str& str);
constexpr auto AbortError = InitError;
extern CClientUIInterface uiInterface;