Currently, RestException is thrown when a response contains a non-success HttpStatusCode (defined here). If Internet is unavailable, for example, HttpRequestException is thrown.
Setting ThrowOnInternetError will throw a RestException if the task fails.
I thus have to add the property bool IsError to RestException.
Currently,
RestException
is thrown when a response contains a non-successHttpStatusCode
(defined here). If Internet is unavailable, for example,HttpRequestException
is thrown.Setting ThrowOnInternetError will throw a
RestException
if the task fails.I thus have to add the property
bool IsError
toRestException
.