summaryrefslogtreecommitdiff
path: root/zen/sys_error.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:04:33 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:04:33 +0200
commit017e56b81ba735c39c43701f737ac7dde55da7b4 (patch)
treeea7aaaee13a06a702701e2f74f5d390e10ae303e /zen/sys_error.h
parent9.4 (diff)
downloadFreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.gz
FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.bz2
FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.zip
9.5
Diffstat (limited to 'zen/sys_error.h')
-rwxr-xr-xzen/sys_error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zen/sys_error.h b/zen/sys_error.h
index 026a3be5..f4361e69 100755
--- a/zen/sys_error.h
+++ b/zen/sys_error.h
@@ -26,6 +26,8 @@ ErrorCode getLastError();
std::wstring formatSystemError(const std::wstring& functionName, ErrorCode ec);
std::wstring formatSystemError(const std::wstring& functionName, const std::wstring& errorCode, const std::wstring& errorMsg);
+
+
//A low-level exception class giving (non-translated) detail information only - same conceptional level like "GetLastError()"!
class SysError
{
@@ -37,7 +39,7 @@ private:
std::wstring msg_;
};
-#define DEFINE_NEW_SYS_ERROR(X) struct X : public SysError { X(const std::wstring& msg) : SysError(msg) {} };
+#define DEFINE_NEW_SYS_ERROR(X) struct X : public zen::SysError { X(const std::wstring& msg) : SysError(msg) {} };
bgstack15