Exception: Kerbi::StateNotPromotable
- Defined in:
- lib/main/errors.rb
Constant Summary collapse
- MSG =
"Non-candidate states cannot be promoted"
Instance Method Summary collapse
-
#initialize(msg = MSG) ⇒ StateNotPromotable
constructor
A new instance of StateNotPromotable.
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 |