[*] NT FSStream: Added more push debug errors

This commit is contained in:
Reece Wilson 2023-07-29 10:13:25 +01:00
parent c05a859638
commit 3ff5d8a74e
2 changed files with 4 additions and 0 deletions

View File

@ -597,6 +597,7 @@ namespace Aurora::IO::FS
if (!pHandle->InitFromPath(createhandle))
{
SysPushErrorNested();
return nullptr;
}

View File

@ -352,6 +352,7 @@ namespace Aurora::IO::FS
auto pStream = AuMakeShared<WinFileStream>();
if (!pStream)
{
SysPushErrorMemory();
return nullptr;
}
@ -382,12 +383,14 @@ namespace Aurora::IO::FS
if (!pHandle->InitFromPath(createhandle))
{
SysPushErrorNested();
return nullptr;
}
auto pStream = _new WinFileStream();
if (!pStream)
{
SysPushErrorMemory();
return nullptr;
}