Exception: EnumValueError

Inherits:
BareException show all
Defined in:
lib/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Enums cannot have two identical values") ⇒ EnumValueError

Returns a new instance of EnumValueError.



68
69
70
# File 'lib/exceptions.rb', line 68

def initialize(msg = "Enums cannot have two identical values")
  super
end