EPOLLERR
EPOLLERR is a flag used by the Linux epoll I/O event notification facility to indicate that an error has occurred on the associated file descriptor. It is one of the event flags that epoll_wait may report for a given event and is distinct from readiness indicators like EPOLLIN or EPOLLOUT.
When EPOLLERR is reported, it signals an error condition on the descriptor’s underlying resource. This condition
Handling EPOLLERR typically involves stopping normal I/O on the descriptor, determining the cause of the error,
Notes and related concepts: EPOLLERR is reported even if no other events are requested; it can appear