The resulting schedule is exponential, jittered, capped per error category,
and bounded by maxRetries (and maxElapsed, when set). The retry budget is
shared across error categories — only the delay curve is per-error — so an
operation that fails with a mix of timeouts and transport errors still stops
after maxRetries retries.
Builds a ModbusRetryPolicy from ModbusRetryPolicyOptions.
The resulting schedule is exponential, jittered, capped per error category, and bounded by
maxRetries(andmaxElapsed, when set). The retry budget is shared across error categories — only the delay curve is per-error — so an operation that fails with a mix of timeouts and transport errors still stops aftermaxRetriesretries.