Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated @matrixai/errors and setup error chaining #14

Merged
merged 2 commits into from
Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

47 changes: 24 additions & 23 deletions docs/classes/DB.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h3>batch</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L303">src/DB.ts:303</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L298">src/DB.ts:298</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -395,7 +395,7 @@ <h3>clear</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L501">src/DB.ts:501</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L496">src/DB.ts:496</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -424,7 +424,7 @@ <h3>count</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L517">src/DB.ts:517</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L512">src/DB.ts:512</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -447,7 +447,7 @@ <h3>del</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L283">src/DB.ts:283</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L278">src/DB.ts:278</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -476,7 +476,7 @@ <h3>deserialize<wbr>Decrypt</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L591">src/DB.ts:591</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L586">src/DB.ts:586</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -499,7 +499,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L595">src/DB.ts:595</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L590">src/DB.ts:590</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -544,7 +544,7 @@ <h3>dump</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L529">src/DB.ts:529</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L524">src/DB.ts:524</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -567,7 +567,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L533">src/DB.ts:533</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L528">src/DB.ts:528</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -594,7 +594,7 @@ <h3>get</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L188">src/DB.ts:188</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L183">src/DB.ts:183</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -623,7 +623,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L192">src/DB.ts:192</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L187">src/DB.ts:187</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -652,7 +652,7 @@ <h3>iterator</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L367">src/DB.ts:367</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L362">src/DB.ts:362</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -676,7 +676,7 @@ <h4 class="tsd-returns-title">Returns <a href="../modules/types.html#DBIterator"
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L371">src/DB.ts:371</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L366">src/DB.ts:366</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -693,7 +693,7 @@ <h4 class="tsd-returns-title">Returns <a href="../modules/types.html#DBIterator"
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L375">src/DB.ts:375</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L370">src/DB.ts:370</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -710,7 +710,7 @@ <h4 class="tsd-returns-title">Returns <a href="../modules/types.html#DBIterator"
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L379">src/DB.ts:379</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L374">src/DB.ts:374</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -737,7 +737,7 @@ <h3>put</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L238">src/DB.ts:238</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L233">src/DB.ts:233</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -763,7 +763,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L243">src/DB.ts:243</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L238">src/DB.ts:238</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -793,7 +793,7 @@ <h3>serialize<wbr>Encrypt</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L557">src/DB.ts:557</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L552">src/DB.ts:552</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -810,7 +810,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L558">src/DB.ts:558</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L553">src/DB.ts:553</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -836,7 +836,7 @@ <h3>set<wbr>Worker<wbr>Manager</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L144">src/DB.ts:144</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L139">src/DB.ts:139</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -859,7 +859,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> setup<wbr>Db</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L632">src/DB.ts:632</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L627">src/DB.ts:627</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -882,7 +882,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> setup<wbr>Root<wbr>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L668">src/DB.ts:668</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L663">src/DB.ts:663</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -952,7 +952,7 @@ <h3>transaction</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L153">src/DB.ts:153</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L148">src/DB.ts:148</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ResourceAcquire</span><span class="tsd-signature-symbol">&lt;</span><a href="DBTransaction.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a><span class="tsd-signature-symbol">&gt;</span></h4>
Expand All @@ -969,7 +969,7 @@ <h3>unset<wbr>Worker<wbr>Manager</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L148">src/DB.ts:148</a></li>
<li>Defined in <a href="https://github.com/MatrixAI/js-db/blob/master/src/DB.ts#L143">src/DB.ts:143</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -1177,6 +1177,7 @@ <h2>Legend</h2>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions docs/classes/DBTransaction.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,7 @@ <h2>Legend</h2>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
</ul>
Expand Down
Loading