aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nng.c b/src/nng.c
index d550c974..ec221fb7 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -199,6 +199,15 @@ nng_strerror(int num)
case NNG_EPERM:
return ("Permission denied");
+
+ case NNG_EMSGSIZE:
+ return ("Message too large");
+
+ case NNG_ECONNRESET:
+ return ("Connection reset");
+
+ case NNG_ECONNABORTED:
+ return ("Connection aborted");
}
if (num & NNG_ESYSERR) {