hasError property

bool get hasError

Whether this execution resulted in an error.

Implementation

bool get hasError => error != null;