Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Error HandlingArea: what it touches
Internal ChangesKind: in v2.1.280,
Internal ChangesSection of the release
What
Claude Code can now detect a specific kind of API error: an HTTP 400 response whose body reports error.type === 'policy_blocked'. This is now classified separately using a new constant, safety_monitor_blocked.
Why
This lets Claude Code tell a safety-policy block apart from other generic 400 errors, which should make it possible to handle or explain this case more precisely instead of treating it like any other bad request.