Add error message where PID is invalid.