All HVE_ and QED_ functions return an QED_Return type (which is just an integer).
User's should always check that the QED_Return values are zero, signifying the
function executed and returned with no errors.
A non-zero integer signifies an error. By calling a qed_return_error and printing out the returned character string you can learn more about where the error occured.
char *qed_return_error(int error);