setError method

void setError(
  1. Object error
)

Implementation

void setError(Object error) {
  this.error = error;
}