{"version":"2.1.334","anchor":"path-not-found-errors-carry-a-structured-reason","canonical_anchor":"path-not-found-errors-carry-a-structured-reason","heading":"Missing path and folder errors now carry a machine-readable reason","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/path-not-found-errors-carry-a-structured-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Missing path and folder errors now carry a machine-readable reason\n\n\"Path does not exist\" and \"Directory does not exist\" errors keep their wording but now carry a reason code and suggestion\n\n**What**\n\nTwo error messages keep the same wording but now carry extra data a program can read:\n\n- \"Path does not exist\" carries the reason `path_not_found` and the suggested path.\n\n- \"Directory does not exist\" carries the reason `folder_not_found` and a did-you-mean suggestion.\n\nThis extra data is attached when no suggestion text was already added to the message.\n\n**Why**\n\nIt mostly helps programs built on Claude Code, which can now spot these errors and offer the suggestion without parsing the text. At the terminal nothing looks different.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}