Rename parameter from err_packet to err_contents.