X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Ferror.c;fp=src%2Ferror.c;h=a8a46503e4754d4a09257791ecf4aa4e15596206;hb=b7f446051c67f16c360350c6191d7d181ffd2356;hp=f87797528088d4e946a5ae884352064843ce7a84;hpb=cbd9e6e987a4427a3ef11c1d12a967d4e6b92943;p=libsigrok.git diff --git a/src/error.c b/src/error.c index f8779752..a8a46503 100644 --- a/src/error.c +++ b/src/error.c @@ -78,6 +78,8 @@ SR_API const char *sr_strerror(int error_code) return "timeout occurred"; case SR_ERR_CHANNEL_GROUP: return "no channel group specified"; + case SR_ERR_DATA: + return "data is invalid"; default: return "unknown error"; }