Exception: ValidArray::DontInsertException
- Inherits:
-
Exception
- Object
- Exception
- ValidArray::DontInsertException
- Defined in:
- lib/valid_array.rb
Overview
Exception to raise to silently skip insertion.
Raising this from validate will prevent the item from being inserted. Use with caution as it may break assumptions that coders are making about how your array works.