Add ability to get a Span from a PIdx, improve errors
#627
+24
−4
Loading