Claude Code v2.1.223 ·
NotFoundError carries a kind
Not-found errors internally track what kind of thing was missing.
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MemoryArea: what it touches
Internal ChangesKind: in v2.1.223,
Internal ChangesSection of the release
What
The memory/document NotFoundError distinguishes what kind of thing was missing.
Details
- Constructor gained a second parameter stored as
kind, defaulting to "document". - The error message and name are unchanged.
Evidence
this.name = "NotFoundError"
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.223 →