Better error code in case of packet.js error.