HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/miniconda3/Lib/site-packages/conda_package_streaming/exceptions.py
import tarfile


class SafetyError(tarfile.TarError):
    def __init__(self, msg, *args, **kw):
        msg = f"Error with archive. {msg}"
        super().__init__(msg)


class CaseInsensitiveFileSystemError(OSError):
    def __init__(self):
        message = """\
Cannot extract package to a case-insensitive file system. Your install
destination does not differentiate between upper and lowercase characters, and
this breaks things. Try installing to a location that is case-sensitive. Windows
drives are usually the culprit here - can you install to a native Unix drive, or
turn on case sensitivity for this (Windows) location?
        """
        super().__init__(message)