Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Error results can now include an error code

When a run ends in an error, the result message can now carry an error_code field if the error is one Claude Code recognises

You'll notice Improvements
JSON All of v2.1.285
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.285,
ImprovementsSection of the release

Unclear Which error codes are on the known list, and so when the field appears, is not stated.

What

When Claude Code finishes a run with an error, it sends a result message saying how the run ended. Programs that drive Claude Code through the SDK read this message. The SDK is the toolkit for using Claude Code from your own code.

That error result used to carry only a subtype and the error text. It can now also carry an error_code field. The field appears only when the error matches one of the codes Claude Code knows about.

Why

If you build on the SDK, your program can check a fixed code and decide what to do next. It no longer has to match the wording of the error text.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich error codes are on the known list, and so when the field appears, is not stated.

See this entry in the whole of v2.1.285 →

Feedback