Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.208 Home All releases olderv2.1.207 v2.1.209newer
Claude Code v2.1.208

New structured error types

What

Three new error classes are introduced for cleaner error handling and telemetry:

  • RipgrepNullByteError: thrown when ripgrep is called with a null byte in its arguments
  • RipgrepUsageError: thrown when ripgrep rejects the pattern, glob, or file type filter without searching (previously these were untyped failures)
  • SelectedRangeTooLargeError: thrown when a requested line range exceeds the readable limit; the error message now names the limit and suggests searching for specific content instead
  • BedrockUnexpectedContentTypeError: thrown when a Bedrock streaming response has an unexpected content-type (not application/vnd.amazon.eventstream); includes guidance to set CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARD=1 to suppress while a gateway is being fixed
Evidence

New error classes (search for "RipgrepNullByteError", "RipgrepUsageError", "SelectedRangeTooLargeError", "BedrockUnexpectedContentType")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.208 →