]> sigrok.org Git - libsigrok.git/blobdiff - error.c
add VID:PID for generic SILabs F32x USBXpress chips
[libsigrok.git] / error.c
diff --git a/error.c b/error.c
index d0697bc84e84fda1f9e4046ab317176bbd1d4c88..c9b8589e218991059c3dcc4cd4eeeb6fb4f340e7 100644 (file)
--- a/error.c
+++ b/error.c
 
 #include "libsigrok.h"
 
+/**
+ * @file
+ *
+ * Error handling in libsigrok.
+ */
+
+/**
+ * @defgroup grp_error Error handling
+ *
+ * Error handling in libsigrok.
+ *
+ * libsigrok functions usually return @ref SR_OK upon success, or a negative
+ * error code on failure.
+ *
+ * @{
+ */
+
 /**
  * Return a human-readable error string for the given libsigrok error code.
  *
@@ -108,3 +125,5 @@ SR_API const char *sr_strerror_name(int error_code)
 
        return str;
 }
+
+/** @} */