Added: Functionality to send error packets 1 2 and 3