From 5f246a2c098b663fa44d87bc5c9ac5c8f74bbcc1 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 26 二月 2021 14:04:39 +0800 Subject: [PATCH] update --- src/bus_error.cpp | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bus_error.cpp b/src/bus_error.cpp index 179211f..913a771 100644 --- a/src/bus_error.cpp +++ b/src/bus_error.cpp @@ -11,12 +11,16 @@ static pthread_key_t strerrorKey; -static char *_bus_errlist[_bus_nerr] = { +static const char *_bus_errlist[_bus_nerr] = { "\0", - "Timeout", + "Timed out", "The other end is not inline", "Key already in use", - "Network fault" + "Network fault", + "Send to self error", + "Receive from wrong end", + "Service stoped", + "Exceed resource limit" }; -- Gitblit v1.8.0