You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dedicated exception for basic.return messages. (#1832)
* Add dedicated exception for `basic.return` messages.
Fixes#1831
This PR adds the `PublishReturnException` class that includes the
originating exchange and routing key for a `basic.return` message. It
should be backwards-compatible in the API.
* Add reply code and reply text to the new `PublishBasicException`
exception type.
* Fix bug in the code that did not set certain `PublishReturnException` data
* Add exception messages
* my 2cents.
Add more conditions to the test
Signed-off-by: Gabriele Santomaggio <[email protected]>
* formatting
Signed-off-by: Gabriele Santomaggio <[email protected]>
---------
Signed-off-by: Gabriele Santomaggio <[email protected]>
Co-authored-by: Brandon Ording <[email protected]>
Co-authored-by: Gabriele Santomaggio <[email protected]>
0 commit comments