refactor: remove SpawnError

This commit is contained in:
CJ van den Berg 2026-02-26 13:09:44 +01:00
parent c6281d2433
commit 29a701154f
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -16,11 +16,9 @@ pub const EventType = enum {
pub const Error = error{ pub const Error = error{
HandlerFailed, HandlerFailed,
SpawnFailed,
OutOfMemory, OutOfMemory,
WatchFailed, WatchFailed,
}; };
const SpawnError = error{ OutOfMemory, SpawnFailed };
pub const Handler = struct { pub const Handler = struct {
vtable: *const VTable, vtable: *const VTable,