fix(rest) pErr -> pError