mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 23:38:49 +00:00
14 lines
351 B
Python
14 lines
351 B
Python
"""Compatibility layer for historic exception types."""
|
|
|
|
from .core.errors import SeedPassError
|
|
|
|
|
|
class VaultLockedError(SeedPassError):
|
|
"""Raised when an operation requires an unlocked vault."""
|
|
|
|
def __init__(self, message: str = "Vault is locked") -> None:
|
|
super().__init__(message)
|
|
|
|
|
|
__all__ = ["VaultLockedError", "SeedPassError"]
|