hasError property

bool hasError

Checker of error's existence

Implementation

bool get hasError => _error != null;