Skip to content

exceptions#

hatch-pip-compile exceptions

HatchPipCompileError #

Bases: Exception

Base exception for hatch-pip-compile

Source code in hatch_pip_compile/exceptions.py
6
7
8
9
class HatchPipCompileError(Exception):
    """
    Base exception for hatch-pip-compile
    """

LockFileError #

Bases: HatchPipCompileError, ValueError

A lock file content Error

Source code in hatch_pip_compile/exceptions.py
class LockFileError(HatchPipCompileError, ValueError):
    """
    A lock file content Error
    """

LockFileNotFoundError #

Bases: HatchPipCompileError, FileNotFoundError

A lock file was not found

Source code in hatch_pip_compile/exceptions.py
class LockFileNotFoundError(HatchPipCompileError, FileNotFoundError):
    """
    A lock file was not found
    """