Handling TypeError in ACPException.