def METHOD_NAME(self, notification: "Notification") -> str:
    """Returns `str` with message for given notification.
    Raises `NotificationVerbError` when there's no message function for
    given notification type.
    ```python
    message = registry.get_message(notification)
    ```
    """
    try:
        return self._messages[notification.verb](notification)
    except KeyError as exc:
        raise NotificationVerbError(notification.verb) from exc