X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Ferror.cpp;h=d6bbaa878099240ae7f84a8f2fe531e980cd3036;hb=refs%2Fchanges%2F28%2F1028%2F1;hp=347e6513e9f836d3d8fbb12dda312f1d1ada6157;hpb=b8cd8b6087862ff04c9e39a0235ebf870c28ce39;p=ric-plt%2Fsdl.git diff --git a/src/error.cpp b/src/error.cpp index 347e651..d6bbaa8 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -109,6 +109,8 @@ namespace 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()"; @@ -137,6 +139,8 @@ namespace 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;