changed the name of the struct used for sending error messages to 'err_packet_t'