The error daemon runs in the foreground and reads the /etc/errpt file.
The error daemon is invoked by the user when required and it reads the /usr/lib/errpt.
The error daemon is invoked whenever the error occurs and it reads the /usr/lib/errpt.
The error daemon /usr/lib/errdemon runs in the background on most machines and reads the /dev/error special file.