From 35d31c3afa9c577a44fcff64bffa8c4ff594a111 Mon Sep 17 00:00:00 2001 From: Ivan Trofimov Date: Thu, 29 Dec 2022 23:54:30 +0300 Subject: [PATCH] feat README: add a note about implied noexcept for ConenctionHandler --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4046810..1937422 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,9 @@ However, this is not strictly necessary. Methods called during a handshake are cached by the AMQP library, and will be executed the moment the handshake is completed and the connection becomes ready for use. +And the last but not least: even though `ConnectionHandler` methods are not +marked `noexcept` explicitly, you are not expected to throw from them, and +the behaviour is undefined if you do so. PARSING INCOMING DATA =====================