changeset 644:562de49f8b4b

Add some missing error messages.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 24 Jan 2020 15:10:19 +0200
parents a2bf1ea05b05
children b897995101b7
files th_util.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/th_util.c	Fri Jan 24 12:06:43 2020 +0200
+++ b/th_util.c	Fri Jan 24 15:10:19 2020 +0200
@@ -201,6 +201,11 @@
     switch (error)
     {
         case THERR_OK:               return "No error";
+
+        case THERR_PROGRESS:         return "Operation in progress";
+
+        case THERR_INTERNAL:         return "Internal error";
+
         case THERR_FOPEN:            return "File open error";
         case THERR_FREAD:            return "Read error";
         case THERR_FWRITE:           return "Write error";
@@ -220,6 +225,8 @@
         case THERR_BOUNDS:           return "Bounds check failed";
 
         case THERR_TIMED_OUT:        return "Operation timed out";
+        case THERR_BUSY:             return "Resource busy";
+        case THERR_IO_ERROR:         return "Input/ouput error";
 
         case THERR_AUTH_FAILED:      return "Authentication failed";