Exception: EnumValueError
- Inherits:
-
BareException
- Object
- StandardError
- BareException
- EnumValueError
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = "Enums cannot have two identical values") ⇒ EnumValueError
constructor
A new instance of EnumValueError.
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 |