Source

graphalchemy / graphalchemy / errors.py

# -*- coding: utf-8 -*-
'''graphalchemy exceptions'''


class ReversionError(Exception):

    '''raise for reversion errors'''


class UnrelatedLinkError(Exception):

    '''raise for nodes that are unrelated links'''


class ValidationError(Exception):

    '''raise for validation errors'''


__all__ = ['UnrelatedLinkError', 'Validation Error']