Exception: Kerbi::StateNotDemotable
- Defined in:
- lib/main/errors.rb
Constant Summary collapse
- MSG =
"Candidate states cannot be demoted"
Instance Method Summary collapse
-
#initialize(msg = MSG) ⇒ StateNotDemotable
constructor
A new instance of StateNotDemotable.
Constructor Details
#initialize(msg = MSG) ⇒ StateNotDemotable
Returns a new instance of StateNotDemotable.
55 56 57 |
# File 'lib/main/errors.rb', line 55 def initialize(msg = MSG) super end |