[PD-dev] pd_error() deprecated