shunit2 icon indicating copy to clipboard operation
shunit2 copied to clipboard

What scenarios and how to use Error handling?

Open BrentHuang opened this issue 2 years ago • 0 comments

Error handling

The constants values SHUNIT_TRUE, SHUNIT_FALSE, and SHUNIT_ERROR are returned from nearly every function to indicate the success or failure of the function. Additionally the variable flags_error is filled with a detailed error message if any function returns with a SHUNIT_ERROR value.

BrentHuang avatar Sep 15 '23 09:09 BrentHuang