- `newPipe()` now throws a `FatalException` on failure to create a new pipe pair
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-09 12:21:46 +02:00
parent cc6933d723
commit bec55edcc6
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ public class Event
if(status != 0)
{
// Throw an exception is pipe creation failed
throw new SnoozeError("Could not initialize the pipe");
throw new FatalException(this, FatalError.WAIT_FAILURE, "Could not initialize the pipe");
}
return pipePair;