failed property

bool get failed

Check if the response failed (4xx or 5xx status code).

Implementation

bool get failed => statusCode >= 400;