NackMessage
faststream.exceptions.NackMessage #
NackMessage(**kwargs: Any)
Bases: HandlerException
Exception raised to negatively acknowledge a message immediately.
This exception can be used to nack a message with additional options. To watch all allowed parameters, please take a look to your broker's message.nack(**extra_options) method signature.
| PARAMETER | DESCRIPTION |
|---|---|
kwargs | Additional parameters that will be passed to TYPE: |
Source code in faststream/exceptions.py
69 70 71 | |