Depends on the accuracy you need at 400 V, but our choice came down to shunt + isolated amplifier, and the deciding numbers were not the datasheet gain error.
What we measured on a 1 mΩ shunt with an isolated front end: 0.4% total at 25 °C, gain drift 80 ppm/K over 0–70 °C, and 200 ns propagation delay. At 20 kHz switching that delay is 1.4° of phase, which matters if you close a current loop — we compensate the phase, not the gain.
Two things that bit us:
1) Common-mode dv/dt, not CMTI margin. At 400 V with 50 V/ns edges you are well inside the amplifier rating, but the isolated supply coupling still injects 30–60 mV into the sense path; a 100 pF imbalance in the input filter is enough. We fixed it with a symmetric RC (100 Ω + 100 pF per leg) and a guard trace tied to the isolated ground.
2) Creepage is a mechanical problem, not a layout one. 8 mm over a 2 mm slot looks fine until conformal coating bridges it. We now put the coating keep-out on the assembly drawing.
Hall was simpler to isolate but 1% offset drift over temperature was not acceptable where we need 0.5% at the trip point. For protection-level accuracy Hall is fine; for metering or closed-loop control, shunt + isolation.
What switching frequency are you running, and is the current needed for control or only for protection?