isRetryable property

  1. @override
bool get isRetryable
override

Whether retrying the identical operation could plausibly succeed.

This is the single signal retry policies consult. It answers "is this failure transient?", not "should this be retried?" — budget, idempotency and deadline decisions belong to the policy, not the error.

A malformed request is not retryable. A 503 is. A cancellation is not, because the caller asked for the work to stop.

Implementation

@override
bool get isRetryable => false;