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.


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

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

Instance Attribute Details

#statesObject (readonly)

Returns the value of attribute states


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

def states
  @states
end