[PD] retrieving DIO errors from within a patch