Skip to content

Exceptions

PrivateBinError

PrivateBinError(message: str)

Bases: Exception

Custom exception for errors related to PrivateBin operations.

Source code in src/privatebin/_errors.py
7
8
9
def __init__(self, message: str) -> None:
    self.message = message
    super().__init__(message)