Source code for dict_plus.exceptions
[docs]class InvalidIteratorException(Exception):
"""
Raised when an invalid Iterator is passed in
"""
pass
[docs]class InvalidElementTypeException(TypeError):
"""
Raised when the Element type doesn't match the expected element type
"""
pass
[docs]class InvalidElementValueException(ValueError):
"""
Raised when the Element value doesn't match the expected element value constraints
"""
pass
[docs]class InvalidSubDictType(ValueError):
"""
Raised when the subdict type of a listdict isn't the correct type
"""
pass