HookMatcher
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseModel pydantic.main !!! abstract "Usage Documentation" |
⋔ Inheritance diagram¶
graph TD
3322567370["hooks.HookMatcher"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3879467795 --> 3322567370
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseModel
Hook matcher configuration.
Source code in src/clawd_code_sdk/models/hooks.py
on_failure
class-attribute
instance-attribute
¶
What to do when a hook callback fails (raises, times out).
"continue" ignores the failure, "block" fails closed and blocks the action.
Requires a CLI that reports hook_on_failure_supported.