# HG changeset patch # User Matti Hamalainen # Date 1579871419 -7200 # Node ID 562de49f8b4b93ac10d8492c1c72348cc91e3e66 # Parent a2bf1ea05b054f3db5a9456da3b68a3547143a34 Add some missing error messages. diff -r a2bf1ea05b05 -r 562de49f8b4b th_util.c --- 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";