From 34a9d47b9cd049df0c7594c22eed07ca39d6987d Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Thu, 25 Apr 2013 08:51:25 -0500 Subject: [PATCH] adds error type for no incoming message buffers --- websocketpp/error.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/websocketpp/error.hpp b/websocketpp/error.hpp index 21bfd7caf0..9c34a62189 100644 --- a/websocketpp/error.hpp +++ b/websocketpp/error.hpp @@ -61,6 +61,9 @@ enum value { /// The endpoint is out of outgoing message buffers no_outgoing_buffers, + + /// The endpoint is out of incoming message buffers + no_incoming_buffers, /// The connection was in the wrong state for this operation invalid_state, @@ -124,6 +127,8 @@ public: return "invalid uri"; case error::no_outgoing_buffers: return "no outgoing message buffers"; + case error::no_incoming_buffers: + return "no incoming message buffers"; case error::invalid_state: return "invalid state"; case error::bad_close_code: