setError property

void setError=(E error)

set the base class to it's generic error value

Implementation

set setError(E error) {
  this.model = null;
  this.error = error;
  itemState = ItemState.hasError;
}