Exception: Hyrax::Workflow::InvalidStateRemovalException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Hyrax::Workflow::InvalidStateRemovalException
- Defined in:
- app/services/hyrax/workflow/invalid_state_removal_exception.rb
Instance Attribute Summary collapse
-
#states ⇒ Object
readonly
Returns the value of attribute states.
Instance Method Summary collapse
-
#initialize(message, states) ⇒ InvalidStateRemovalException
constructor
A new instance of InvalidStateRemovalException.
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(, states) super() @states = states end |
Instance Attribute Details
#states ⇒ Object (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 |