Skip to content

Exceptions

PostalLetterError

PostalLetterError(message)

Bases: Exception

Raised when a postal provider operation fails (network, API error, etc.).

Source code in components/emailing/subcomponents/postal_letter/protected/exceptions.py
4
5
6
def __init__(self, message: str) -> None:
    super().__init__(message)
    self.message = message

message instance-attribute

message = message