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.
5 6 7 8 |
# File 'app/services/hyrax/workflow/invalid_state_removal_exception.rb', line 5 def initialize(, states) super() @states = states end |
Instance Attribute Details
#states ⇒ Object (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 |