From c55df8f9cdded0da0dc6a4d6a42e043e46e9b27f Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Wed, 15 Sep 2021 12:51:01 +0200 Subject: GetWindowsErrorAsString() -> GetErrorAsString() --- zencore/include/zencore/except.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencore/include') 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) -- cgit v1.2.3