Class: Smith::Events::StepFailed
- Inherits:
-
Smith::Event
- Object
- Dry::Struct
- Smith::Event
- Smith::Events::StepFailed
- Defined in:
- lib/smith/events/step_failed.rb
Overview
Emitted from both step-failure paths (step-body failure and an
unresolved transition routed to :fail), closing the success-only
observation gap for failures that reach step handling. Terminal errors
raised outside it (an unresolved transition with no :fail transition,
transition-budget exhaustion, origin validation) still re-raise
without a StepFailed. Carries bounded classification only, never raw
error messages; error_family uses FailureRecord's taxonomy
("agent_error", "deadline_exceeded", ..., "other") and retryable is
nil when the error does not declare retryability.