util: fix inspecting error with a throwing getter for cause
#47163
+25
−2
8000
cause
#47163