<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/BlockSourceError/rateLimited(retryAfter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel16BlockSourceErrorO11rateLimitedyACs8DurationVSg_tcACmF"
  },
  "title" : "BlockSourceError.rateLimited(retryAfter:)"
}
-->

# BlockSourceError.rateLimited(retryAfter:)

The source is rate-limiting the client. Surfaces only after all
built-in retries have been exhausted.

```
case rateLimited(retryAfter: Duration?)
```

## Parameters

`retryAfter`

The server-hinted wait duration, parsed from
the `Retry-After` response header per
[RFC 9110 §10.2.3](https://www.rfc-editor.org/rfc/rfc9110#section-10.2.3),
if the response carried one. `nil` when the server did not provide
a hint.