error{AccessDenied, EventNotFound, SystemResources, ProcessNotFound, Overflow}
(ErrorSet)

Errors

AccessDenied

The process does not have permission to register a filter.

EventNotFound

The event could not be found to be modified or deleted.

Overflow

changelist or eventlist had too many items on it. TODO remove this possibility

ProcessNotFound

The specified process to attach to does not exist.

SystemResources

No memory was available to register the event.