Exception: Kerbi::StateNotDemotable

Inherits:
Error
  • Object
show all
Defined in:
lib/main/errors.rb

Constant Summary collapse

MSG =
"Candidate states cannot be demoted"

Instance Method Summary collapse

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