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()";
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;
return InternalError::BACKEND_ERROR;
case AsyncRedisCommandDispatcherErrorCode::IO_ERROR:
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;
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;