""" Provide exception classes for :mod:`migrate`"""classError(Exception):"""Error base class."""classApiError(Error):"""Base class for API errors."""classKnownError(ApiError):"""A known error condition."""classUsageError(ApiError):"""A known error condition where help should be displayed."""classControlledSchemaError(Error):"""Base class for controlled schema errors."""classInvalidVersionError(ControlledSchemaError):"""Invalid version number."""classDatabaseNotControlledError(ControlledSchemaError):"""Database should be under version control, but it's not."""classDatabaseAlreadyControlledError(ControlledSchemaError):"""Database shouldn't be under version control, but it is"""classWrongRepositoryError(ControlledSchemaError):"""This database is under version control by another repository."""classNoSuchTableError(ControlledSchemaError):"""The table does not exist."""classPathError(Error):"""Base class for path errors."""classPathNotFoundError(PathError):"""A path with no file was required; found a file."""classPathFoundError(PathError):"""A path with a file was required; found no file."""classRepositoryError(Error):"""Base class for repository errors."""classInvalidRepositoryError(RepositoryError):"""Invalid repository error."""classScriptError(Error):"""Base class for script errors."""classInvalidScriptError(ScriptError):"""Invalid script error."""# migrate.changesetclassNotSupportedError(Error):"""Not supported error"""classInvalidConstraintError(Error):"""Invalid constraint error"""classMigrateDeprecationWarning(DeprecationWarning):"""Warning for deprecated features in Migrate"""