Skip to content

Commit

Permalink
fix: Use "422 Unprocessable Entity" when server refuses parcel (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed May 14, 2021
1 parent 18d7faa commit 9a99d40
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion api/classes/clienterror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
2 changes: 1 addition & 1 deletion api/classes/invalidhandshakechallengeerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
2 changes: 1 addition & 1 deletion api/classes/noncesignererror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
2 changes: 1 addition & 1 deletion api/classes/parceldeliveryerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
12 changes: 6 additions & 6 deletions api/classes/powebclient.html
Original file line number Diff line number Diff line change
Expand Up @@ -2845,7 +2845,7 @@ <h3>collect<wbr>Parcels</h3>
<aside class="tsd-sources">
<p>Implementation of GSCClient.collectParcels</p>
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L203">src/lib/PoWebClient.ts:203</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L203">src/lib/PoWebClient.ts:203</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2898,7 +2898,7 @@ <h3>deliver<wbr>Parcel</h3>
<aside class="tsd-sources">
<p>Implementation of GSCClient.deliverParcel</p>
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L172">src/lib/PoWebClient.ts:172</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L172">src/lib/PoWebClient.ts:172</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2932,7 +2932,7 @@ <h3>pre<wbr>Register<wbr>Node</h3>
<aside class="tsd-sources">
<p>Implementation of GSCClient.preRegisterNode</p>
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L123">src/lib/PoWebClient.ts:123</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L123">src/lib/PoWebClient.ts:123</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2970,7 +2970,7 @@ <h3>register<wbr>Node</h3>
<aside class="tsd-sources">
<p>Implementation of GSCClient.registerNode</p>
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L148">src/lib/PoWebClient.ts:148</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L148">src/lib/PoWebClient.ts:148</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3001,7 +3001,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> init<wbr>Local</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L57">src/lib/PoWebClient.ts:57</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L57">src/lib/PoWebClient.ts:57</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3033,7 +3033,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> init<wbr>Remote</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/PoWebClient.ts#L67">src/lib/PoWebClient.ts:67</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/PoWebClient.ts#L67">src/lib/PoWebClient.ts:67</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
2 changes: 1 addition & 1 deletion api/classes/poweberror.html
Original file line number Diff line number Diff line change
Expand Up @@ -3008,7 +3008,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
2 changes: 1 addition & 1 deletion api/classes/refusedparcelerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down
2 changes: 1 addition & 1 deletion api/classes/servererror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/89c7d6c/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-poweb-js/blob/cec782d/src/lib/errors.ts#L6">src/lib/errors.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down

0 comments on commit 9a99d40

Please sign in to comment.