aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-09-15 12:51:01 +0200
committerMartin Ridgers <[email protected]>2021-09-16 09:34:29 +0200
commitc55df8f9cdded0da0dc6a4d6a42e043e46e9b27f (patch)
tree641bcabb74352ade62a24d4af0563558a219b43e /zencore/include
parentMerge branch 'main' into linux-mac (diff)
downloadzen-c55df8f9cdded0da0dc6a4d6a42e043e46e9b27f.tar.xz
zen-c55df8f9cdded0da0dc6a4d6a42e043e46e9b27f.zip
GetWindowsErrorAsString() -> GetErrorAsString()
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/except.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/except.h b/zencore/include/zencore/except.h
index 486f3e380..5e0f580f2 100644
--- a/zencore/include/zencore/except.h
+++ b/zencore/include/zencore/except.h
@@ -56,7 +56,7 @@ ZENCORE_API void ThrowSystemException(HRESULT hRes, std::string_view Message);
ZENCORE_API void ThrowLastError(std::string_view Message);
ZENCORE_API void ThrowLastError(std::string_view Message, const std::source_location& Location);
ZENCORE_API std::string GetLastErrorAsString();
-ZENCORE_API std::string GetWindowsErrorAsString(uint32_t Win32ErrorCode);
+ZENCORE_API std::string GetErrorAsString(uint32_t ErrorCode);
inline void
ThrowSystemException(const char* Message)