<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">HAYASHI Kentaro <hayas****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-02 11:55:30 +0900 (Thu, 02 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3">f891320c85946fa79900bcaf05faebb7cfebdbf3</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
<dd style="margin-left: 8.5em">
<ul>
<li>Merged 4437782: Merge pull request #58 from kenhys/support-grn-scorer-error</li>
</ul>
</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Support GRN_SCORER_ERROR
It's introduced since Groonga 5.0.1.</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#diff-0">ext/groonga/rb-grn-exception.c</a></li>
<li><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#diff-1">test/test-exception.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: ext/groonga/rb-grn-exception.c (+17 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L101">101</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L104">104</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L336">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L337">337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L338">338</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L339">339</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L340">340</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L341">341</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L342">342</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L581">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L582">582</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L583">583</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L584">584</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L585">585</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L586">586</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L587">587</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L1260">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L1261">1261</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L1262">1262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L1263">1263</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0L1264">1264</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R101">101</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R105">105</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R337">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R338">338</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R339">339</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R340">340</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R341">341</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R342">342</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R343">343</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R344">344</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R345">345</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R346">346</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R585">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R586">586</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R587">587</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R588">588</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R589">589</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R590">590</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R591">591</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R592">592</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R593">593</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R594">594</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1267">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1268">1268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1269">1269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1270">1270</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1271">1271</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1272">1272</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1273">1273</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1274">1274</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1275">1275</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1276">1276</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1277">1277</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1278">1278</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1279">1279</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1280">1280</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L0R1281">1281</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -99,6 +99,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static VALUE eGrnNormalizerError;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> static VALUE eGrnTokenFilterError;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> static VALUE eGrnCommandError;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> static VALUE eGrnPluginError;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+static VALUE eGrnScorerError;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> VALUE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_rc_to_exception (grn_rc rc)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -337,6 +338,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_rc_to_exception (grn_rc rc)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case GRN_PLUGIN_ERROR:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> exception = eGrnPluginError;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> break;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ case GRN_SCORER_ERROR:</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ exception = eGrnScorerError;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (NIL_P(exception))</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -582,6 +586,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_rc_to_message (grn_rc rc)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case GRN_PLUGIN_ERROR:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> message = "plugin error";</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> break;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ case GRN_SCORER_ERROR:</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ message = "scorer error";</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!message)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1261,4 +1268,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_init_exception (VALUE mGrn)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> eGrnPluginError =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_define_class_under(mGrn, "PluginError", rb_eGrnError);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ /*</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ * Document-class: Groonga::ScorerError</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ * It is used when a scorer causes an error.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ * @since 5.0.1</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ */</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ eGrnPluginError =</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ rb_define_class_under(mGrn, "ScorerError", rb_eGrnError);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test-exception.rb (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L101">101</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1L104">104</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R101">101</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/f891320c85946fa79900bcaf05faebb7cfebdbf3#L1R105">105</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -99,6 +99,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class ExceptionTest < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_const_defined(Groonga, :TokenFilterError)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_const_defined(Groonga, :CommandError)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_const_defined(Groonga, :PluginError)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert_const_defined(Groonga, :ScorerError)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>