status property

int? status
final

The HTTP status the API answered with, when the failure came from a response at all.

Worth having on its own: before this, the status was either absent or smuggled into FetchDataException's message text, so a caller wanting to distinguish a 500 from a 503 had to parse prose.

Implementation

final int? status;