From 613bd5ba966a4ad665639ade0727281cefd0966c Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Mon, 9 Jun 2014 15:10:22 -0400 Subject: [PATCH] make sure all errors have Error in the name --- src/amqp_channel.h | 12 ++++++------ src/amqp_client.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/amqp_channel.h b/src/amqp_channel.h index 017303e..b726d81 100644 --- a/src/amqp_channel.h +++ b/src/amqp_channel.h @@ -26,12 +26,12 @@ public: enum ChannelError { NoError = 0, - ContentTooLarge = 311, - NoConsumers = 313, - AccessRefused = 403, - NotFound = 404, - ResourceLocked = 405, - PreconditionFailed = 406 + ContentTooLargeError = 311, + NoConsumersError = 313, + AccessRefusedError = 403, + NotFoundError = 404, + ResourceLockedError = 405, + PreconditionFailedError = 406 }; ChannelError error() const; QString errorString() const; diff --git a/src/amqp_client.h b/src/amqp_client.h index 70b0215..5df7ae2 100644 --- a/src/amqp_client.h +++ b/src/amqp_client.h @@ -63,16 +63,16 @@ public: enum ConnectionError { NoError = 0, - ConnectionForced = 320, - InvalidPath = 402, + ConnectionForcedError = 320, + InvalidPathError = 402, FrameError = 501, SyntaxError = 502, - CommandInvalid = 503, + CommandInvalidError = 503, ChannelError = 504, - UnexpectedFrame = 505, + UnexpectedFrameError = 505, ResourceError = 506, - NotAllowed = 530, - NotImplemented = 540, + NotAllowedError = 530, + NotImplementedError = 540, InternalError = 541 }; ConnectionError error() const;