Merge branch 'feedmixin' of git://github.com/melinath/philo into melinath
[philo.git] / exceptions.py
1 class ViewDoesNotProvideSubpaths(Exception):
2         """ Raised by get_subpath when the View does not provide subpaths (the default). """
3         silent_variable_failure = True
4
5
6 class ViewCanNotProvideSubpath(Exception):
7         """ Raised by get_subpath when the View can not provide a subpath for the supplied object. """
8         silent_variable_failure = True
9
10
11 class AncestorDoesNotExist(Exception):
12         """ Raised by get_path if the root model is not an ancestor of the current model """
13         pass