Adapt to ErrorCode to PacketE rename in daemonlib

Also rename ProcessErrorCode to ProcessE to follow the pattern.