This commit is contained in:
2024-11-29 18:15:30 +00:00
parent 40aade2d8e
commit bc9415586e
5298 changed files with 1938676 additions and 80 deletions

View File

@ -0,0 +1,15 @@
"""This is part of the MSS Python's module.
Source: https://github.com/BoboTiG/python-mss.
"""
from __future__ import annotations
from typing import Any
class ScreenShotError(Exception):
"""Error handling class."""
def __init__(self, message: str, /, *, details: dict[str, Any] | None = None) -> None:
super().__init__(message)
self.details = details or {}