Exception: BitmaskEnum::BitmaskEnumInvalidError Private
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- BitmaskEnum::BitmaskEnumInvalidError
- Defined in:
- lib/bitmask_enum/errors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Error for an invalid definition of the bitmask enum
Instance Method Summary collapse
-
#initialize(detail) ⇒ BitmaskEnumInvalidError
constructor
private
A new instance of BitmaskEnumInvalidError.
Constructor Details
#initialize(detail) ⇒ BitmaskEnumInvalidError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of BitmaskEnumInvalidError.
7 8 9 |
# File 'lib/bitmask_enum/errors.rb', line 7 def initialize(detail) super("BitmaskEnum definition is invalid: #{detail}") end |