69 str =
"generic/unspecified error";
72 str =
"memory allocation error";
75 str =
"invalid argument";
78 str =
"internal error";
81 str =
"Python API error";
84 str =
"decoders directory access error";
87 str =
"unknown error";
122 switch (error_code) {
130 str =
"SRD_ERR_MALLOC";
139 str =
"SRD_ERR_PYTHON";
142 str =
"SRD_ERR_DECODERS_DIR";
145 str =
"unknown error code";
Errors hinting at internal bugs.
Generic/unspecified error.
const char * srd_strerror(int error_code)
Return a human-readable error string for the given libsigrokdecode error code.
const char * srd_strerror_name(int error_code)
Return the "name" string of the given libsigrokdecode error code.
Malloc/calloc/realloc error.
Protocol decoder path invalid.
The public libsigrokdecode header file to be used by frontends.