removed duplication with Error resprented by HasError and ErrorItem