Match errors in decode_query_resp/1
closes #37