this is stable5 ... maybe we should backport isError from master as well?