rpa_error_t - Check the error in case of error.

Use rpa_dbex_lasterrorinfo or rpa_dbex_lasterror to check the error if an error occurs.