added errorCode and errorInfo fields to the entities as defined by the communication protocol