mirror of https://github.com/waku-org/js-waku.git
54 lines
29 KiB
HTML
54 lines
29 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ProtocolError | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">Documentation</a></li><li><a href="../modules/_waku_sdk.html">@waku/sdk</a></li><li><a href="_waku_sdk.ProtocolError.html">ProtocolError</a></li></ul><h1>Enumeration ProtocolError</h1></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:116</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Enumeration Members</h3><div class="tsd-index-list"><a href="_waku_sdk.ProtocolError.html#DECODE_FAILED" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>DECODE_<wbr/>FAILED</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#EMPTY_PAYLOAD" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>EMPTY_<wbr/>PAYLOAD</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#ENCODE_FAILED" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>ENCODE_<wbr/>FAILED</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#GENERIC_FAIL" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>GENERIC_<wbr/>FAIL</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#INVALID_DECODER_TOPICS" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>INVALID_<wbr/>DECODER_<wbr/>TOPICS</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#NO_PEER_AVAILABLE" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>PEER_<wbr/>AVAILABLE</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#NO_RESPONSE" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>RESPONSE</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#NO_STREAM_AVAILABLE" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>STREAM_<wbr/>AVAILABLE</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#REMOTE_PEER_REJECTED" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>REMOTE_<wbr/>PEER_<wbr/>REJECTED</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#REQUEST_TIMEOUT" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>REQUEST_<wbr/>TIMEOUT</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#RLN_IDENTITY_MISSING" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>IDENTITY_<wbr/>MISSING</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#RLN_LIMIT_MISSING" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>LIMIT_<wbr/>MISSING</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#RLN_MEMBERSHIP_INDEX" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>MEMBERSHIP_<wbr/>INDEX</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#RLN_PROOF_GENERATION" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>PROOF_<wbr/>GENERATION</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#SIZE_TOO_BIG" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>SIZE_<wbr/>TOO_<wbr/>BIG</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#TOPIC_DECODER_MISMATCH" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TOPIC_<wbr/>DECODER_<wbr/>MISMATCH</span></a>
|
|
<a href="_waku_sdk.ProtocolError.html#TOPIC_NOT_CONFIGURED" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TOPIC_<wbr/>NOT_<wbr/>CONFIGURED</span></a>
|
|
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Enumeration Members</h2><section class="tsd-panel tsd-member"><a id="DECODE_FAILED" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>DECODE_<wbr/>FAILED</span><a href="#DECODE_FAILED" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">DECODE_<wbr/>FAILED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Failed to decode"</span></div><div class="tsd-comment tsd-typography"><p>Failure to protobuf decode the message. May be due to a remote peer issue,
|
|
ensuring that messages are sent via several peer enable mitigation of this error.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:128</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="EMPTY_PAYLOAD" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>EMPTY_<wbr/>PAYLOAD</span><a href="#EMPTY_PAYLOAD" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">EMPTY_<wbr/>PAYLOAD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Payload is empty"</span></div><div class="tsd-comment tsd-typography"><p>The message payload is empty, making the message invalid. Ensure that a non-empty
|
|
payload is set on the outgoing message.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:133</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ENCODE_FAILED" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ENCODE_<wbr/>FAILED</span><a href="#ENCODE_FAILED" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">ENCODE_<wbr/>FAILED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Failed to encode"</span></div><div class="tsd-comment tsd-typography"><p>Failure to protobuf encode the message. This is not recoverable and needs
|
|
further investigation.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:123</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="GENERIC_FAIL" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>GENERIC_<wbr/>FAIL</span><a href="#GENERIC_FAIL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">GENERIC_<wbr/>FAIL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Generic error"</span></div><div class="tsd-comment tsd-typography"><p>Could not determine the origin of the fault. Best to check connectivity and try again</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:118</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="INVALID_DECODER_TOPICS" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>INVALID_<wbr/>DECODER_<wbr/>TOPICS</span><a href="#INVALID_DECODER_TOPICS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">INVALID_<wbr/>DECODER_<wbr/>TOPICS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Invalid decoder topics"</span></div><div class="tsd-comment tsd-typography"><p>The topics passed in the decoders do not match each other, or don't exist at all.
|
|
Ensure that all the pubsub topics used in the decoders are valid and match each other.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:153</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="NO_PEER_AVAILABLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>NO_<wbr/>PEER_<wbr/>AVAILABLE</span><a href="#NO_PEER_AVAILABLE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">NO_<wbr/>PEER_<wbr/>AVAILABLE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"No peer available"</span></div><div class="tsd-comment tsd-typography"><p>Failure to find a peer with suitable protocols. This may due to a connection issue.
|
|
Mitigation can be: retrying after a given time period, display connectivity issue
|
|
to user or listening for <code>peer:connected:bootstrap</code> or <code>peer:connected:peer-exchange</code>
|
|
on the connection manager before retrying.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:160</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="NO_RESPONSE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>NO_<wbr/>RESPONSE</span><a href="#NO_RESPONSE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">NO_<wbr/>RESPONSE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"No response received"</span></div><div class="tsd-comment tsd-typography"><p>The remote peer did not behave as expected. Mitigation for <code>NO_PEER_AVAILABLE</code>
|
|
or <code>DECODE_FAILED</code> can be used.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:170</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="NO_STREAM_AVAILABLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>NO_<wbr/>STREAM_<wbr/>AVAILABLE</span><a href="#NO_STREAM_AVAILABLE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">NO_<wbr/>STREAM_<wbr/>AVAILABLE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"No stream available"</span></div><div class="tsd-comment tsd-typography"><p>Failure to find a stream to the peer. This may be because the connection with the peer is not still alive.
|
|
Mitigation can be: retrying after a given time period, or mitigation for <code>NO_PEER_AVAILABLE</code> can be used.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:165</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="REMOTE_PEER_REJECTED" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>REMOTE_<wbr/>PEER_<wbr/>REJECTED</span><a href="#REMOTE_PEER_REJECTED" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">REMOTE_<wbr/>PEER_<wbr/>REJECTED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Remote peer rejected"</span></div><div class="tsd-comment tsd-typography"><p>The remote peer rejected the message. Information provided by the remote peer
|
|
is logged. Review message validity, or mitigation for <code>NO_PEER_AVAILABLE</code>
|
|
or <code>DECODE_FAILED</code> can be used.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:176</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="REQUEST_TIMEOUT" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>REQUEST_<wbr/>TIMEOUT</span><a href="#REQUEST_TIMEOUT" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">REQUEST_<wbr/>TIMEOUT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Request timeout"</span></div><div class="tsd-comment tsd-typography"><p>The protocol request timed out without a response. This may be due to a connection issue.
|
|
Mitigation can be: retrying after a given time period</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:181</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="RLN_IDENTITY_MISSING" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>RLN_<wbr/>IDENTITY_<wbr/>MISSING</span><a href="#RLN_IDENTITY_MISSING" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">RLN_<wbr/>IDENTITY_<wbr/>MISSING</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Identity credentials are not set"</span></div><div class="tsd-comment tsd-typography"><p>Missing credentials info message.
|
|
nwaku: <a href="https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L186">https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L186</a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:186</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="RLN_LIMIT_MISSING" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>RLN_<wbr/>LIMIT_<wbr/>MISSING</span><a href="#RLN_LIMIT_MISSING" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">RLN_<wbr/>LIMIT_<wbr/>MISSING</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"User message limit is not set"</span></div><div class="tsd-comment tsd-typography"><p>Message limit is missing.
|
|
nwaku: <a href="https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L190">https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L190</a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:196</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="RLN_MEMBERSHIP_INDEX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>RLN_<wbr/>MEMBERSHIP_<wbr/>INDEX</span><a href="#RLN_MEMBERSHIP_INDEX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">RLN_<wbr/>MEMBERSHIP_<wbr/>INDEX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Membership index is not set"</span></div><div class="tsd-comment tsd-typography"><p>Membership index missing info message.
|
|
nwaku: <a href="https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L188">https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L188</a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:191</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="RLN_PROOF_GENERATION" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>RLN_<wbr/>PROOF_<wbr/>GENERATION</span><a href="#RLN_PROOF_GENERATION" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">RLN_<wbr/>PROOF_<wbr/>GENERATION</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Proof generation failed"</span></div><div class="tsd-comment tsd-typography"><p>General proof generation error message.
|
|
nwaku: <a href="https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L201C19-L201C42">https://github.com/waku-org/nwaku/blob/c3cb06ac6c03f0f382d3941ea53b330f6a8dd127/waku/waku_rln_relay/group_manager/group_manager_base.nim#L201C19-L201C42</a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:201</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="SIZE_TOO_BIG" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>SIZE_<wbr/>TOO_<wbr/>BIG</span><a href="#SIZE_TOO_BIG" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">SIZE_<wbr/>TOO_<wbr/>BIG</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Size is too big"</span></div><div class="tsd-comment tsd-typography"><p>The message size is above the maximum message size allowed on the Waku Network.
|
|
Compressing the message or using an alternative strategy for large messages is recommended.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:138</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="TOPIC_DECODER_MISMATCH" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>TOPIC_<wbr/>DECODER_<wbr/>MISMATCH</span><a href="#TOPIC_DECODER_MISMATCH" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">TOPIC_<wbr/>DECODER_<wbr/>MISMATCH</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Topic decoder mismatch"</span></div><div class="tsd-comment tsd-typography"><p>The pubsub topic configured on the decoder does not match the pubsub topic setup on the protocol.
|
|
Ensure that the pubsub topic used for decoder creation is the same as the one used for protocol.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:148</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="TOPIC_NOT_CONFIGURED" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>TOPIC_<wbr/>NOT_<wbr/>CONFIGURED</span><a href="#TOPIC_NOT_CONFIGURED" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">TOPIC_<wbr/>NOT_<wbr/>CONFIGURED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Topic not configured"</span></div><div class="tsd-comment tsd-typography"><p>The PubsubTopic passed to the send function is not configured on the Waku node.
|
|
Please ensure that the PubsubTopic is used when initializing the Waku node.</p>
|
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in packages/interfaces/dist/protocols.d.ts:143</li></ul></aside></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#DECODE_FAILED" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>DECODE_<wbr/>FAILED</span></a><a href="#EMPTY_PAYLOAD" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>EMPTY_<wbr/>PAYLOAD</span></a><a href="#ENCODE_FAILED" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>ENCODE_<wbr/>FAILED</span></a><a href="#GENERIC_FAIL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>GENERIC_<wbr/>FAIL</span></a><a href="#INVALID_DECODER_TOPICS" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>INVALID_<wbr/>DECODER_<wbr/>TOPICS</span></a><a href="#NO_PEER_AVAILABLE" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>PEER_<wbr/>AVAILABLE</span></a><a href="#NO_RESPONSE" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>RESPONSE</span></a><a href="#NO_STREAM_AVAILABLE" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>NO_<wbr/>STREAM_<wbr/>AVAILABLE</span></a><a href="#REMOTE_PEER_REJECTED" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>REMOTE_<wbr/>PEER_<wbr/>REJECTED</span></a><a href="#REQUEST_TIMEOUT" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>REQUEST_<wbr/>TIMEOUT</span></a><a href="#RLN_IDENTITY_MISSING" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>IDENTITY_<wbr/>MISSING</span></a><a href="#RLN_LIMIT_MISSING" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>LIMIT_<wbr/>MISSING</span></a><a href="#RLN_MEMBERSHIP_INDEX" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>MEMBERSHIP_<wbr/>INDEX</span></a><a href="#RLN_PROOF_GENERATION" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>RLN_<wbr/>PROOF_<wbr/>GENERATION</span></a><a href="#SIZE_TOO_BIG" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>SIZE_<wbr/>TOO_<wbr/>BIG</span></a><a href="#TOPIC_DECODER_MISMATCH" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TOPIC_<wbr/>DECODER_<wbr/>MISMATCH</span></a><a href="#TOPIC_NOT_CONFIGURED" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TOPIC_<wbr/>NOT_<wbr/>CONFIGURED</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>Documentation</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html> |