NAME

Claude::Agent::Error::HookError - Hook execution exception

DESCRIPTION

Thrown when a hook callback fails. Stringifies as HookError: message.

ATTRIBUTES

message

The error description. Required.

hook_event

The event that triggered the hook. Optional; has_hook_event reports whether it was given.

original_error

The original error from the hook callback. Optional; has_original_error reports whether it was given.

AUTHOR

LNATION, <email at lnation.org>

LICENSE

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under The Artistic License 2.0 (GPL Compatible).