Class: ClaudeAgentSDK::StopFailureHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::StopFailureHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
StopFailure hook input
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_details ⇒ Object
Returns the value of attribute error_details.
-
#last_assistant_message ⇒ Object
Returns the value of attribute last_assistant_message.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StopFailureHookInput
constructor
A new instance of StopFailureHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ StopFailureHookInput
Returns a new instance of StopFailureHookInput.
763 764 765 766 |
# File 'lib/claude_agent_sdk/types.rb', line 763 def initialize(attributes = {}) super @hook_event_name = 'StopFailure' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
761 762 763 |
# File 'lib/claude_agent_sdk/types.rb', line 761 def error @error end |
#error_details ⇒ Object
Returns the value of attribute error_details.
761 762 763 |
# File 'lib/claude_agent_sdk/types.rb', line 761 def error_details @error_details end |
#last_assistant_message ⇒ Object
Returns the value of attribute last_assistant_message.
761 762 763 |
# File 'lib/claude_agent_sdk/types.rb', line 761 def @last_assistant_message end |