setException method

dynamic setException(
  1. String error
)

Implementation

setException(String error) {
  _error = error;
}