You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/dynaconf/vendor/box/exceptions.py

23 lines
446 B

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
class BoxError(Exception):
"""Non standard dictionary exceptions"""
class BoxKeyError(BoxError, KeyError, AttributeError):
"""Key does not exist"""
class BoxTypeError(BoxError, TypeError):
"""Cannot handle that instance's type"""
class BoxValueError(BoxError, ValueError):
"""Issue doing something with that value"""
class BoxWarning(UserWarning):
"""Here be dragons"""