Pass TypeErr generate by disconnect_by_func