RejectMessage
faststream.exceptions.RejectMessage #
Bases: HandlerException
Exception raised to reject a message immediately.
This exception can be used to reject a message with additional options. To watch all allowed parameters, please take a look to your broker's message.reject(**extra_options)
method signature.
PARAMETER | DESCRIPTION |
---|---|
kwargs | Additional parameters that will be passed to TYPE: |