#PostToolUse
1 articles
-
Claude Code hook exit codes: what 0, 2 and everything else do
Exit 0 succeeds, exit 2 blocks and feeds stderr back to Claude, anything else is a non-blocking warning. What blocking means per event, and when to use JSON output instead.