Exception: Legion::Gaia::Workflow::NotInitialized

Inherits:
Error
  • Object
show all
Defined in:
lib/legion/gaia/workflow/errors.rb

Overview

Raised when trying to transition a workflow that has no initial state set

Instance Method Summary collapse

Constructor Details

#initializeNotInitialized

Returns a new instance of NotInitialized.



53
54
55
# File 'lib/legion/gaia/workflow/errors.rb', line 53

def initialize
  super('Workflow instance has no current state — set an initial state in the definition')
end