From a38304f7f6b91aaa1b0aa76cc9d3e5b6aef1f85f Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期六, 13 三月 2021 17:07:22 +0800 Subject: [PATCH] update --- src/bus_error.cpp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/bus_error.cpp b/src/bus_error.cpp index fe20cea..913a771 100644 --- a/src/bus_error.cpp +++ b/src/bus_error.cpp @@ -11,13 +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", - "Send to self error" + "Send to self error", + "Receive from wrong end", + "Service stoped", + "Exceed resource limit" }; -- Gitblit v1.8.0