isRetryable property
bool
get
isRetryable
Whether retrying the identical request could plausibly succeed.
False for every permanent 4xx: a retry there burns quota and cannot change the answer.
Implementation
bool get isRetryable =>
body?.status == 408 ||
body?.status == 425 ||
this is NRouterRateLimitError ||
this is NRouterServiceError ||
this is NRouterTransportError;