Exception: Hyrax::Workflow::InvalidStateRemovalException

Inherits:
RuntimeError
  • Object
show all
Defined in:
app/services/hyrax/workflow/invalid_state_removal_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, states) ⇒ InvalidStateRemovalException

Returns a new instance of InvalidStateRemovalException.


6
7
8
9
# File 'app/services/hyrax/workflow/invalid_state_removal_exception.rb', line 6

def initialize(message, states)
  super(message)
  @states = states
end

Instance Attribute Details

#statesObject (readonly)

Returns the value of attribute states


5
6
7
# File 'app/services/hyrax/workflow/invalid_state_removal_exception.rb', line 5

def states
  @states
end