limitations under the License.
*/
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
#include <sstream>
#include "private/createlogger.hpp"
#include "private/error.hpp"
return "redis error";
case AsyncRedisCommandDispatcherErrorCode::IO_ERROR:
return "redis I/O error";
+ case AsyncRedisCommandDispatcherErrorCode::WRITING_TO_SLAVE:
+ return "writing to slave";
case AsyncRedisCommandDispatcherErrorCode::END_MARKER:
logErrorOnce("AsyncRedisCommandDispatcherErrorCode::END_MARKER is not meant to be queried (it is only for enum loop control)");
return "unsupported error code for message()";
return InternalError::BACKEND_ERROR;
case AsyncRedisCommandDispatcherErrorCode::IO_ERROR:
return InternalError::BACKEND_ERROR;
+ case AsyncRedisCommandDispatcherErrorCode::WRITING_TO_SLAVE:
+ return InternalError::BACKEND_ERROR;
case AsyncRedisCommandDispatcherErrorCode::END_MARKER:
logErrorOnce("AsyncRedisCommandDispatcherErrorCode::END_MARKER is not meant to be mapped to InternalError (it is only for enum loop control)");
return InternalError::SDL_ERROR_CODE_LOGIC_ERROR;