Exception: BetterService::Errors::Workflowable::Runtime::WorkflowRuntimeError

Inherits:
Runtime::RuntimeError show all
Defined in:
lib/better_service/errors/workflowable/runtime/workflow_runtime_error.rb

Overview

Base class for workflow runtime errors

Raised when errors occur during workflow execution, such as step failures, rollback failures, or workflow execution errors.

Examples:

Workflow runtime error

class MyWorkflow < BetterService::Workflow
  step :first_step,
       with: FirstService
end

MyWorkflow.new(user, params: {}).call
# If FirstService fails => raises WorkflowRuntimeError (or subclass)

Instance Attribute Summary

Attributes inherited from BetterServiceError

#code, #context, #original_error, #timestamp

Method Summary

Methods inherited from BetterServiceError

#backtrace, #detailed_message, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from BetterService::BetterServiceError