Well, this error can always be corrected if you immediately track the situation. The network does not take into account the wrong transaction, it simply does not accept it. It is necessary to cancel and start the transaction on a new one. Although it may be that the coins will simply burn out if sent to a non-existent address.