failed property

bool get failed

Implementation

bool get failed => error != null;