refactor: remove SpawnError
This commit is contained in:
parent
c6281d2433
commit
29a701154f
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue