Parent page error trapping