Skip to content

Is there any documentation on error handling? #325

Answered by jgaeddert
sbhutch asked this question in Q&A
Discussion options

You must be logged in to vote

Great question! All objects' create methods will (eventually) return a NULL pointer upon error and log the particular error message. I realize that pointing to the massive header file is really not a valid answer, but the error codes are described here:

https://github.com/jgaeddert/liquid-dsp/blob/master/include/liquid.h#L76-L126

The intent here is to provide some basic level of indication for what went wrong and support debugging, but not really emulate exception handling in C. I'd love to hear any suggestions you might have to make this better!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sbhutch
Comment options

Answer selected by sbhutch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants