Exception: Kerbi::StateNotPromotable

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

Constant Summary collapse

MSG =
"Non-candidate states cannot be promoted"

Instance Method Summary collapse

Constructor Details

#initialize(msg = MSG) ⇒ StateNotPromotable

Returns a new instance of StateNotPromotable.



48
49
50
# File 'lib/main/errors.rb', line 48

def initialize(msg = MSG)
  super
end