system/FmtError: new library
Replaces the Format*() functions in system/Error.hxx.
This commit is contained in:
@@ -24,5 +24,5 @@ WinEvent::WinEvent()
|
||||
:event(CreateEventW(nullptr, false, false, nullptr))
|
||||
{
|
||||
if (!event)
|
||||
throw FormatLastError("Error creating events");
|
||||
throw MakeLastError("Error creating events");
|
||||
}
|
||||
|
Reference in New Issue
Block a user