return error result for HLEN wrapper