Skip to main content

mark_failed

AsyncMethod
This is a method of the OutboundDeliveryProtocol class in the protocols module.
Mark a message as failed.

Signature

Parameters

str
required
The entry key returned by enqueue()
str
required
Error description
bool
default:"False"
If True, won’t retry this message

Returns

bool
True if marked successfully, False if not found

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1510