{"version":"2.1.305","anchor":"unavailableerror-carries-retryafterms","canonical_anchor":"unavailableerror-carries-retryafterms","heading":"Service-unavailable errors can now carry a suggested wait time","tier":"internal","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305\/e\/unavailableerror-carries-retryafterms","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305","markdown":"### Service-unavailable errors can now carry a suggested wait time\n\nThe error Claude Code raises when a service is unavailable can now also hold how long to wait before trying again\n\n**What**\n\nWhen something Claude Code talks to reports that it is unavailable, Claude Code raises an error saying so. That error used to hold only a message and the underlying cause. It can now also hold a wait time in milliseconds, stored as `retryAfterMs`, for how long to wait before trying again.\n\n**Why**\n\nWhen a server says how long to wait, Claude Code can keep that number and act on it instead of retrying straight away.\n\n- Area: Internals\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}