Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.208 ·

New structured error types

Entry
JSON All of v2.1.208
EntryKind: in v2.1.208,
ImprovementsSection of the release
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 →

Feedback