Files
bearhub/bauh/gems/arch/exceptions.py

14 lines
255 B
Python

from typing import Optional
class PackageNotFoundException(Exception):
def __init__(self, name: str):
self.name = name
class PackageInHoldException(Exception):
def __init__(self, name: Optional[str] = None):
self.name = name