$80 GRAYBYTE WORDPRESS FILE MANAGER $16

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/hc_python/lib/python3.12/site-packages/build/

HOME
Current File : /opt/hc_python/lib/python3.12/site-packages/build//_exceptions.py
from __future__ import annotations

import subprocess
import types


class BuildException(Exception):
    """
    Exception raised by :class:`build.ProjectBuilder`.
    """


class BuildBackendException(Exception):
    """
    Exception raised when a backend operation fails.
    """

    def __init__(
        self,
        exception: Exception,
        description: str | None = None,
        exc_info: tuple[type[BaseException], BaseException, types.TracebackType] | tuple[None, None, None] = (
            None,
            None,
            None,
        ),
    ) -> None:
        super().__init__()
        self.exception = exception
        self.exc_info = exc_info
        self._description = description

    def __str__(self) -> str:
        if self._description:
            return self._description
        return f'Backend operation failed: {self.exception!r}'


class BuildSystemTableValidationError(BuildException):
    """
    Exception raised when the ``[build-system]`` table in pyproject.toml is invalid.
    """

    def __str__(self) -> str:
        return f'Failed to validate `build-system` in pyproject.toml: {self.args[0]}'


class FailedProcessError(Exception):
    """
    Exception raised when a setup or preparation operation fails.
    """

    def __init__(self, exception: subprocess.CalledProcessError, description: str) -> None:
        super().__init__()
        self.exception = exception
        self._description = description

    def __str__(self) -> str:
        return self._description


class TypoWarning(Warning):
    """
    Warning raised when a possible typo is found.
    """


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Dec 2025 9.30 AM
root / root
0755
__pycache__
--
3 Dec 2025 9.30 AM
root / root
0755
_compat
--
3 Dec 2025 9.30 AM
root / root
0755
__init__.py
0.817 KB
3 Dec 2025 9.30 AM
root / root
0644
__main__.py
15.148 KB
3 Dec 2025 9.30 AM
root / root
0644
_builder.py
13.153 KB
3 Dec 2025 9.30 AM
root / root
0644
_ctx.py
2.817 KB
3 Dec 2025 9.30 AM
root / root
0644
_exceptions.py
1.587 KB
3 Dec 2025 9.30 AM
root / root
0644
_types.py
0.54 KB
3 Dec 2025 9.30 AM
root / root
0644
_util.py
2.271 KB
3 Dec 2025 9.30 AM
root / root
0644
env.py
13.907 KB
3 Dec 2025 9.30 AM
root / root
0644
py.typed
0 KB
3 Dec 2025 9.30 AM
root / root
0644
util.py
1.797 KB
3 Dec 2025 9.30 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF