spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / hooks / entries / refused-entry / refused-entry.ts
6 lines · 240 BRaw
1/**
2 * The error a refused entry rejects with: its message names the method and
3 * what was wrong, and `what` is that reason alone, for a hook to answer as
4 * its `{ deny }`.
5 */
6export type RefusedEntry = Error & { readonly what: string }