On
Dante's profile:
"
Electricity Manipulation (
Withstood electricity from
Trish[41])"
My brother in Christ he is literally writhing around on the ground in agony. He is not "withstanding" shit.
He does beat demons who use electricity, such as Blitz, Nevan and Griffon. He also blocks Griffon's lightning with his sword in DMC5 without getting shocked.
Honestly, I think the scene with Trish does tell us three things. Firstly, you are obviously correct that he's not immune to the current. I have to point out though, that he recovers right after and is not really harmed, so he's not writhing in agony as you've put it. He's convulsing due to the current causing his muscles to react.
In electricity, there are two primary things at play, the current and the wattage. The current is what causes convulsions and moves through objects, but the wattage is what fries things. In the case of lightning, that wattage includes a temperature of 30,000 Kelvins, roughly 30,000 degrees Celsius. Dante was clearly not harmed by that wattage or that temperature. Interestingly, he was more hurt by Ifrit soon after despite the lack of that current. This actually makes it a solid heat resistance feat.
Now for the main thing, the current. Firstly, a current like that is very capable of damaging organs, most notably the heart. The fact that the current is passing through a sword which is stabbed into his spinal column (which transmits signals all through the body) is also significant here.
TL;DR: depending on how we define resistance to electricity, this is uncertain. He resists the heat (heat resistance feat; 30K degrees Celsius) and the wattage, and his internal system is not damaged by the current. However, the current clearly does pass through him and does cause his muscles to convulse.