Source code for reqwire.errors

"""Provides custom exception classes."""
from __future__ import absolute_import


__all__ = (
    'IndexUrlMismatchError',
    'ReqwireError',
)


[docs]class ReqwireError(Exception): """Base class for all exceptions thrown by reqwire."""
[docs]class IndexUrlMismatchError(ReqwireError): """Indicates a conflict between CLI and requirement source file."""