Adding hasError and getError computed functions on entity properties