Exception: Spree::Workflow::Halted

Inherits:
Exception
  • Object
show all
Defined in:
lib/spree/workflow.rb

Overview

rubocop:disable Lint/InheritException

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Halted

Returns a new instance of Halted.



68
69
70
71
# File 'lib/spree/workflow.rb', line 68

def initialize(value)
  @value = value
  super('workflow halted')
end

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



66
67
68
# File 'lib/spree/workflow.rb', line 66

def value
  @value
end