<filename>pghoard/rohmu/errors.py
"""
rohmu - exception classes

Copyright (c) 2016 Ohmu Ltd
See LICENSE for details
"""


class Error(Exception):
    """Generic exception"""


class StorageError(Error):
    """Storage exception"""


class FileNotFoundFromStorageError(StorageError):
    """File not found from remote storage"""


class InvalidConfigurationError(Error):
    """Invalid configuration"""


class LocalFileIsRemoteFileError(StorageError):
    """File transfer operation source and destination point to the same file"""


class MissingLibraryError(Exception):
    """Missing dependency library"""

<filename>pghoard/rohmu/errors.py
"""
rohmu - exception classes

Copyright (c) 2016 Ohmu Ltd
See LICENSE for details
"""


class Error(Exception):
    """Generic exception"""


class StorageError(Error):
    """Storage exception"""


class FileNotFoundFromStorageError(StorageError):
    """File not found from remote storage"""


class InvalidConfigurationError(Error):
    """Invalid configuration"""


class LocalFileIsRemoteFileError(StorageError):
    """File transfer operation source and destination point to the same file"""


class MissingLibraryError(Exception):
    """Missing dependency library"""

rohmu - exception classes  Copyright (c) 2016 Ohmu Ltd See LICENSE for details Generic exception Storage exception File not found from remote storage Invalid configuration File transfer operation source and destination point to the same file Missing dependency library