Exception: Temporalio::Workflow::InvalidWorkflowStateError

Inherits:
Error
  • Object
show all
Defined in:
lib/temporalio/workflow.rb

Overview

Error raised when a workflow does something with a side effect in an improper context. In ‘initialize`, query handlers, and update validators, a workflow cannot do anything that would generate a command (e.g. starting an activity) or anything that could wait (e.g. scheduling a fiber, running a future, or using a wait condition).

Method Summary

Methods inherited from Error

canceled?