MCPcopy Create free account
hub / github.com/WJX20/claude-code / getUserPromptSubmitHookBlockingMessage

Function getUserPromptSubmitHookBlockingMessage

src/utils/hooks.ts:2018–2022  ·  view source on GitHub ↗
(
  blockingError: HookBlockingError,
)

Source from the content-addressed store, hash-verified

2016 * @returns Formatted blocking message
2017 */
2018export function getUserPromptSubmitHookBlockingMessage(
2019 blockingError: HookBlockingError,
2020): string {
2021 return `UserPromptSubmit operation blocked by hook:\n${blockingError.blockingError}`
2022}
2023/**
2024 * Common logic for executing hooks
2025 * @param hookInput The structured hook input that will be validated and converted to JSON

Callers 1

processUserInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected