Files
rippled/ErrorCodes_8cpp_source.html
2025-12-15 10:43:10 -08:00

444 lines
101 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ErrorCodes.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_90ffdbabf412cfdffe6b2193e0ce938a.html">libxrpl</a></li><li class="navelem"><a class="el" href="dir_4cb643486f27a568a0d40f174f670f35.html">protocol</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">ErrorCodes.cpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &lt;xrpl/beast/utility/instrumentation.h&gt;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;xrpl/json/json_value.h&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &lt;xrpl/protocol/ErrorCodes.h&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;xrpl/protocol/jss.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/array.html">array</a>&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/stdexcept.html">stdexcept</a>&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">namespace </span>RPC {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="foldopen" id="foldopen00013" data-start="{" data-end="}">
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC_1_1detail.html"> 13</a></span><span class="keyword">namespace </span>detail {</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">// Unordered array of ErrorInfos, so we don&#39;t have to maintain the list</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">// ordering by hand.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">//</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// This array will be omitted from the object file; only the sorted version</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">// will remain in the object file. But the string literals will remain.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">//</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">// There&#39;s a certain amount of tension in determining the correct HTTP</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">// status to associate with a given RPC error. Initially all RPC errors</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment">// returned 200 (OK). And that&#39;s the default behavior if no HTTP status code</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment">// is specified below.</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment">//</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment">// The codes currently selected target the load balancer fail-over use case.</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment">// If a query fails on one node but is likely to have a positive outcome</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">// on a different node, then the failure should return a 4xx/5xx range</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment">// status code.</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment">// clang-format off</span></div>
<div class="foldopen" id="foldopen00032" data-start="{" data-end="};">
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC_1_1detail.html#abf66a515295c1da1af703fdd9225617a"> 32</a></span><span class="keyword">constexpr</span> <span class="keyword">static</span> <a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#abf66a515295c1da1af703fdd9225617a">unorderedErrorInfos</a>[]{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">rpcACT_MALFORMED</a>, <span class="stringliteral">&quot;actMalformed&quot;</span>, <span class="stringliteral">&quot;Account malformed.&quot;</span>},</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">rpcACT_NOT_FOUND</a>, <span class="stringliteral">&quot;actNotFound&quot;</span>, <span class="stringliteral">&quot;Account not found.&quot;</span>},</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf5707d84f9df4ed4f67765b644383a47">rpcALREADY_MULTISIG</a>, <span class="stringliteral">&quot;alreadyMultisig&quot;</span>, <span class="stringliteral">&quot;Already multisigned.&quot;</span>},</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8cabce97d6bdf9df65b6d35eab8e7f99">rpcALREADY_SINGLE_SIG</a>, <span class="stringliteral">&quot;alreadySingleSig&quot;</span>, <span class="stringliteral">&quot;Already single-signed.&quot;</span>},</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa82e99e9a77ed4c63c8a6ffa4dbdceeb3">rpcAMENDMENT_BLOCKED</a>, <span class="stringliteral">&quot;amendmentBlocked&quot;</span>, <span class="stringliteral">&quot;Amendment blocked, need upgrade.&quot;</span>, 503},</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faa1dcccc5a75f8263d6e641a65091391e">rpcEXPIRED_VALIDATOR_LIST</a>, <span class="stringliteral">&quot;unlBlocked&quot;</span>, <span class="stringliteral">&quot;Validator list expired.&quot;</span>, 503},</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac363f6243e4282c5b442c401bd43936b">rpcATX_DEPRECATED</a>, <span class="stringliteral">&quot;deprecated&quot;</span>, <span class="stringliteral">&quot;Use the new API or specify a ledger range.&quot;</span>, 400},</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa7c79df6c4ead04e8b201eeb1feed7571">rpcBAD_KEY_TYPE</a>, <span class="stringliteral">&quot;badKeyType&quot;</span>, <span class="stringliteral">&quot;Bad key type.&quot;</span>, 400},</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3826fa79887b8119307ac9ac8694ee4a">rpcBAD_FEATURE</a>, <span class="stringliteral">&quot;badFeature&quot;</span>, <span class="stringliteral">&quot;Feature unknown or invalid.&quot;</span>, 500},</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae9a0442c8d1040a131c86316609c74af">rpcBAD_ISSUER</a>, <span class="stringliteral">&quot;badIssuer&quot;</span>, <span class="stringliteral">&quot;Issuer account malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa36270f89cd004f278125667c3d9fb1f7">rpcBAD_MARKET</a>, <span class="stringliteral">&quot;badMarket&quot;</span>, <span class="stringliteral">&quot;No such market.&quot;</span>, 404},</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf0d52332ec13bf8696a61f86f32b3133">rpcBAD_SECRET</a>, <span class="stringliteral">&quot;badSecret&quot;</span>, <span class="stringliteral">&quot;Secret does not match account.&quot;</span>, 403},</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fabddd93a232dbbed0e23b40ae9a2199cc">rpcBAD_SEED</a>, <span class="stringliteral">&quot;badSeed&quot;</span>, <span class="stringliteral">&quot;Disallowed seed.&quot;</span>, 403},</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3d07329ca7d956a06e0a19faeab5d933">rpcBAD_SYNTAX</a>, <span class="stringliteral">&quot;badSyntax&quot;</span>, <span class="stringliteral">&quot;Syntax error.&quot;</span>, 400},</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8aa85fa31f887f1f448e831a3babcd96">rpcCHANNEL_MALFORMED</a>, <span class="stringliteral">&quot;channelMalformed&quot;</span>, <span class="stringliteral">&quot;Payment channel is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4927db5b174ca5090c1ab139dfccf57e">rpcCHANNEL_AMT_MALFORMED</a>, <span class="stringliteral">&quot;channelAmtMalformed&quot;</span>, <span class="stringliteral">&quot;Payment channel amount is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0303012265dd05569e6856a3a7cc4b9f">rpcCOMMAND_MISSING</a>, <span class="stringliteral">&quot;commandMissing&quot;</span>, <span class="stringliteral">&quot;Missing command entry.&quot;</span>, 400},</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8b609b4c3b4c842d54d40038587c869b">rpcDB_DESERIALIZATION</a>, <span class="stringliteral">&quot;dbDeserialization&quot;</span>, <span class="stringliteral">&quot;Database deserialization error.&quot;</span>, 502},</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad2294cad7a9c65c7b78a6ca5773d0cdc">rpcDST_ACT_MALFORMED</a>, <span class="stringliteral">&quot;dstActMalformed&quot;</span>, <span class="stringliteral">&quot;Destination account is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa5df6c640f3427ec73b339cf99f9b26b6">rpcDST_ACT_MISSING</a>, <span class="stringliteral">&quot;dstActMissing&quot;</span>, <span class="stringliteral">&quot;Destination account not provided.&quot;</span>, 400},</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad8a6628ca96e50c31b7f22bdbbfe70d5">rpcDST_ACT_NOT_FOUND</a>, <span class="stringliteral">&quot;dstActNotFound&quot;</span>, <span class="stringliteral">&quot;Destination account not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa860649ce6ad5739a560f71ffb95d193d">rpcDST_AMT_MALFORMED</a>, <span class="stringliteral">&quot;dstAmtMalformed&quot;</span>, <span class="stringliteral">&quot;Destination amount/currency/issuer is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa55fae979ca18eb5e0d0814f6c06e7e69">rpcDST_AMT_MISSING</a>, <span class="stringliteral">&quot;dstAmtMissing&quot;</span>, <span class="stringliteral">&quot;Destination amount/currency/issuer is missing.&quot;</span>, 400},</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae8767c8c4cd7a974aad5fa2d4259e492">rpcDST_ISR_MALFORMED</a>, <span class="stringliteral">&quot;dstIsrMalformed&quot;</span>, <span class="stringliteral">&quot;Destination issuer is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3a2074d7ae820678bf1602775c48ccd2">rpcEXCESSIVE_LGR_RANGE</a>, <span class="stringliteral">&quot;excessiveLgrRange&quot;</span>, <span class="stringliteral">&quot;Ledger range exceeds 1000.&quot;</span>, 400},</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa872e8d0c7b46106856ee675bf87a4774">rpcFORBIDDEN</a>, <span class="stringliteral">&quot;forbidden&quot;</span>, <span class="stringliteral">&quot;Bad credentials.&quot;</span>, 403},</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa5aa1defd81d3c53470c28453e909f6c4">rpcHIGH_FEE</a>, <span class="stringliteral">&quot;highFee&quot;</span>, <span class="stringliteral">&quot;Current transaction fee exceeds your limit.&quot;</span>, 402},</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa84460dd802aaad1833b922da3c0a6d0f">rpcINTERNAL</a>, <span class="stringliteral">&quot;internal&quot;</span>, <span class="stringliteral">&quot;Internal error.&quot;</span>, 500},</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf5f984508a7eb726be7ee1e5807c42c8">rpcINVALID_LGR_RANGE</a>, <span class="stringliteral">&quot;invalidLgrRange&quot;</span>, <span class="stringliteral">&quot;Ledger range is invalid.&quot;</span>, 400},</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>, <span class="stringliteral">&quot;invalidParams&quot;</span>, <span class="stringliteral">&quot;Invalid parameters.&quot;</span>, 400},</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad2d7b6db0c97c5ea41ee2be6a5052caf">rpcINVALID_HOTWALLET</a>, <span class="stringliteral">&quot;invalidHotWallet&quot;</span>, <span class="stringliteral">&quot;Invalid hotwallet.&quot;</span>, 400},</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa33ff4935bf16d296ae5edbb050496afd">rpcISSUE_MALFORMED</a>, <span class="stringliteral">&quot;issueMalformed&quot;</span>, <span class="stringliteral">&quot;Issue is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faca434011d0cb0b10b1fb0bebbec692be">rpcJSON_RPC</a>, <span class="stringliteral">&quot;json_rpc&quot;</span>, <span class="stringliteral">&quot;JSON-RPC transport error.&quot;</span>, 500},</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa9e615ffd43818acdc22656fd0e6d7e3e">rpcLGR_IDXS_INVALID</a>, <span class="stringliteral">&quot;lgrIdxsInvalid&quot;</span>, <span class="stringliteral">&quot;Ledger indexes invalid.&quot;</span>, 400},</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8f644f5fae75ef79dd92a656d38136e1">rpcLGR_IDX_MALFORMED</a>, <span class="stringliteral">&quot;lgrIdxMalformed&quot;</span>, <span class="stringliteral">&quot;Ledger index malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa14920cfeb18fc41fef6998482a41a3b1">rpcLGR_NOT_FOUND</a>, <span class="stringliteral">&quot;lgrNotFound&quot;</span>, <span class="stringliteral">&quot;Ledger not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6d6e33e51cd916c1d0b0c1fe752d1242">rpcLGR_NOT_VALIDATED</a>, <span class="stringliteral">&quot;lgrNotValidated&quot;</span>, <span class="stringliteral">&quot;Ledger not validated.&quot;</span>, 202},</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa83057a103056543043f12710bdac6886">rpcMASTER_DISABLED</a>, <span class="stringliteral">&quot;masterDisabled&quot;</span>, <span class="stringliteral">&quot;Master key is disabled.&quot;</span>, 403},</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6b446e051266fd73162852bd2c8a8f46">rpcNOT_ENABLED</a>, <span class="stringliteral">&quot;notEnabled&quot;</span>, <span class="stringliteral">&quot;Not enabled in configuration.&quot;</span>, 501},</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa270975c5354852d7b5248476859f5a65">rpcNOT_IMPL</a>, <span class="stringliteral">&quot;notImpl&quot;</span>, <span class="stringliteral">&quot;Not implemented.&quot;</span>, 501},</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fafa4be1e62e5127cc2a35de0d3b2312da">rpcNOT_READY</a>, <span class="stringliteral">&quot;notReady&quot;</span>, <span class="stringliteral">&quot;Not ready to handle this request.&quot;</span>, 503},</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc">rpcNOT_SUPPORTED</a>, <span class="stringliteral">&quot;notSupported&quot;</span>, <span class="stringliteral">&quot;Operation not supported.&quot;</span>, 501},</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1558bcba9a2856214a2875c0074b96f1">rpcNO_CLOSED</a>, <span class="stringliteral">&quot;noClosed&quot;</span>, <span class="stringliteral">&quot;Closed ledger is unavailable.&quot;</span>, 503},</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa279cb5a4e46ed24b24ed10cbad3dc628">rpcNO_CURRENT</a>, <span class="stringliteral">&quot;noCurrent&quot;</span>, <span class="stringliteral">&quot;Current ledger is unavailable.&quot;</span>, 503},</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faad5354f2aa55e41a5ec90ebda67aa9aa">rpcNOT_SYNCED</a>, <span class="stringliteral">&quot;notSynced&quot;</span>, <span class="stringliteral">&quot;Not synced to the network.&quot;</span>, 503},</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc">rpcNO_EVENTS</a>, <span class="stringliteral">&quot;noEvents&quot;</span>, <span class="stringliteral">&quot;Current transport does not support events.&quot;</span>, 405},</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1509c881a9cf0125b9df59e63d4be43e">rpcNO_NETWORK</a>, <span class="stringliteral">&quot;noNetwork&quot;</span>, <span class="stringliteral">&quot;Not synced to the network.&quot;</span>, 503},</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac4468894023ead83fcc6617aaddc8410">rpcWRONG_NETWORK</a>, <span class="stringliteral">&quot;wrongNetwork&quot;</span>, <span class="stringliteral">&quot;Wrong network.&quot;</span>, 503},</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa175232cd1d2e4359e67ac2f9d0fb777d">rpcNO_PERMISSION</a>, <span class="stringliteral">&quot;noPermission&quot;</span>, <span class="stringliteral">&quot;You don&#39;t have permission for this command.&quot;</span>, 401},</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">rpcNO_PF_REQUEST</a>, <span class="stringliteral">&quot;noPathRequest&quot;</span>, <span class="stringliteral">&quot;No pathfinding request in progress.&quot;</span>, 404},</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0d87ce3d04d619a5bb42c35640746f98">rpcOBJECT_NOT_FOUND</a>, <span class="stringliteral">&quot;objectNotFound&quot;</span>, <span class="stringliteral">&quot;The requested object was not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6aa5f8209b5c377f43cd0304df04ee4c">rpcPUBLIC_MALFORMED</a>, <span class="stringliteral">&quot;publicMalformed&quot;</span>, <span class="stringliteral">&quot;Public key is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa39327a36fc47c82f9f1779e5781eef3f">rpcSENDMAX_MALFORMED</a>, <span class="stringliteral">&quot;sendMaxMalformed&quot;</span>, <span class="stringliteral">&quot;SendMax amount malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4bd42efd73cd607767fe4b251506de46">rpcSIGNING_MALFORMED</a>, <span class="stringliteral">&quot;signingMalformed&quot;</span>, <span class="stringliteral">&quot;Signing of transaction is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1e367e0ae0bf160a8178b5a3dd99fafc">rpcSLOW_DOWN</a>, <span class="stringliteral">&quot;slowDown&quot;</span>, <span class="stringliteral">&quot;You are placing too much load on the server.&quot;</span>, 429},</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa9598df266eb1813d90437bea86252ef0">rpcSRC_ACT_MALFORMED</a>, <span class="stringliteral">&quot;srcActMalformed&quot;</span>, <span class="stringliteral">&quot;Source account is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf02768bc2c8cb4ce16a72b661fb4fa1a">rpcSRC_ACT_MISSING</a>, <span class="stringliteral">&quot;srcActMissing&quot;</span>, <span class="stringliteral">&quot;Source account not provided.&quot;</span>, 400},</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa949f2c42f40320f5320688fed244a544">rpcSRC_ACT_NOT_FOUND</a>, <span class="stringliteral">&quot;srcActNotFound&quot;</span>, <span class="stringliteral">&quot;Source account not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4b8512afa8b79c02f039a99f40a50a55">rpcDELEGATE_ACT_NOT_FOUND</a>, <span class="stringliteral">&quot;delegateActNotFound&quot;</span>, <span class="stringliteral">&quot;Delegate account not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa00ad395480dbbb2290d0af4e93a470c6">rpcSRC_CUR_MALFORMED</a>, <span class="stringliteral">&quot;srcCurMalformed&quot;</span>, <span class="stringliteral">&quot;Source currency is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3f005663ec03577829c566127e5c231e">rpcSRC_ISR_MALFORMED</a>, <span class="stringliteral">&quot;srcIsrMalformed&quot;</span>, <span class="stringliteral">&quot;Source issuer is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0d8dfb59672229b80f53d70b12296266">rpcSTREAM_MALFORMED</a>, <span class="stringliteral">&quot;malformedStream&quot;</span>, <span class="stringliteral">&quot;Stream malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0ac8b64d5bade2a4d7731f99213cb8e7">rpcTOO_BUSY</a>, <span class="stringliteral">&quot;tooBusy&quot;</span>, <span class="stringliteral">&quot;The server is too busy to help you now.&quot;</span>, 503},</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa12eb33aa42913fa30e26716bc7d49fe8">rpcTXN_NOT_FOUND</a>, <span class="stringliteral">&quot;txnNotFound&quot;</span>, <span class="stringliteral">&quot;Transaction not found.&quot;</span>, 404},</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa93a73daf3ce774dba1284b5ba0b205a1">rpcUNKNOWN_COMMAND</a>, <span class="stringliteral">&quot;unknownCmd&quot;</span>, <span class="stringliteral">&quot;Unknown method.&quot;</span>, 405},</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3b383fd64ff2828a844032969eb90b7e">rpcORACLE_MALFORMED</a>, <span class="stringliteral">&quot;oracleMalformed&quot;</span>, <span class="stringliteral">&quot;Oracle request is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa219af1e4c435f8352cfb52a80d9bf083">rpcBAD_CREDENTIALS</a>, <span class="stringliteral">&quot;badCredentials&quot;</span>, <span class="stringliteral">&quot;Credentials do not exist, are not accepted, or have expired.&quot;</span>, 400},</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1b7e6eb9d98742e23f6c34ee635d6fa2">rpcTX_SIGNED</a>, <span class="stringliteral">&quot;transactionSigned&quot;</span>, <span class="stringliteral">&quot;Transaction should not be signed.&quot;</span>, 400},</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac8f9c6bbbe5deb2fed441f3d6ca6049c">rpcDOMAIN_MALFORMED</a>, <span class="stringliteral">&quot;domainMalformed&quot;</span>, <span class="stringliteral">&quot;Domain is malformed.&quot;</span>, 400},</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fadb02ba6ab2296abf4d463fd708de4f06">rpcENTRY_NOT_FOUND</a>, <span class="stringliteral">&quot;entryNotFound&quot;</span>, <span class="stringliteral">&quot;Entry not found.&quot;</span>, 400},</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> {<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa113c696877ca49d2c5ae352a3e3a40fb">rpcUNEXPECTED_LEDGER_TYPE</a>, <span class="stringliteral">&quot;unexpectedLedgerType&quot;</span>, <span class="stringliteral">&quot;Unexpected ledger type.&quot;</span>, 400},</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span>};</div>
</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="comment">// clang-format on</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="comment">// Sort and validate unorderedErrorInfos at compile time. Should be</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="comment">// converted to consteval when get to C++20.</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N&gt;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="keyword">constexpr</span> <span class="keyword">auto</span></div>
<div class="foldopen" id="foldopen00111" data-start="{" data-end="}">
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC_1_1detail.html#a9a7728b02691876d0e4afe1639f02233"> 111</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC_1_1detail.html#a9a7728b02691876d0e4afe1639f02233">sortErrorInfos</a>(<a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span> (&amp;unordered)[N]) -&gt; <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;ErrorInfo, M&gt;</a></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span>{</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;ErrorInfo, M&gt;</a> ret = {};</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">for</span> (<a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&amp; info : unordered)</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> {</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">if</span> (info.code &lt;= <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faffe7dc93a7f5be3abc5d49473c0776c0">rpcSUCCESS</a> || info.code &gt; <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6c39e9277457cef250ed5ba259bf8460">rpcLAST</a>)</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">throw</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/out_of_range.html">std::out_of_range</a>(<span class="stringliteral">&quot;Invalid error_code_i&quot;</span>));</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// The first valid code follows rpcSUCCESS immediately.</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">static_assert</span>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faffe7dc93a7f5be3abc5d49473c0776c0">rpcSUCCESS</a> == 0, <span class="stringliteral">&quot;Unexpected error_code_i layout.&quot;</span>);</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordtype">int</span> <span class="keyword">const</span> index{info.code - 1};</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">if</span> (ret[index].code != <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae36b0c4fad5501c229349489d65988e9">rpcUNKNOWN</a>)</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">throw</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>(<span class="stringliteral">&quot;Duplicate error_code_i in list&quot;</span>));</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> ret[index] = info;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> }</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="comment">// Verify that all entries are filled in starting with 1 and proceeding</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="comment">// to rpcLAST.</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="comment">//</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="comment">// It&#39;s okay for there to be missing entries; they will contain the code</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="comment">// rpcUNKNOWN. But other than that all entries should match their index.</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordtype">int</span> codeCount{0};</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordtype">int</span> expect{<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3d07329ca7d956a06e0a19faeab5d933">rpcBAD_SYNTAX</a> - 1};</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordflow">for</span> (<a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&amp; info : ret)</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> {</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> ++expect;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">if</span> (info.code == <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae36b0c4fad5501c229349489d65988e9">rpcUNKNOWN</a>)</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">continue</span>;</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">if</span> (info.code != expect)</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordflow">throw</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>(<span class="stringliteral">&quot;Empty error_code_i in list&quot;</span>));</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> ++codeCount;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> }</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordflow">if</span> (expect != <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6c39e9277457cef250ed5ba259bf8460">rpcLAST</a>)</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keywordflow">throw</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>(<span class="stringliteral">&quot;Insufficient list entries&quot;</span>));</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordflow">if</span> (codeCount != N)</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">throw</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>(<span class="stringliteral">&quot;Bad handling of unorderedErrorInfos&quot;</span>));</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">return</span> ret;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>}</div>
</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC_1_1detail.html#aa9ef2cda7d3e8e50e26554d9f9a85964"> 155</a></span><span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#aa9ef2cda7d3e8e50e26554d9f9a85964">sortedErrorInfos</a>{sortErrorInfos&lt;rpcLAST&gt;(<a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#abf66a515295c1da1af703fdd9225617a">unorderedErrorInfos</a>)};</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC_1_1detail.html#adcd0e789765e4e97f0d2b6e02d2e5cbc"> 157</a></span><span class="keyword">constexpr</span> <a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#adcd0e789765e4e97f0d2b6e02d2e5cbc">unknownError</a>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>} <span class="comment">// namespace detail</span></div>
</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00164" data-start="{" data-end="}">
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5"> 164</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">inject_error</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code, <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; json)</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span>{</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&amp; info(<a class="code hl_function" href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37">get_error_info</a>(code));</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> json[jss::error] = info.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#a41c32b5f04237ed4ee1fd30f702e2f8f">token</a>;</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> json[jss::error_code] = info.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#a2545e9575900139af196992ef1fb4fce">code</a>;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> json[jss::error_message] = info.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#ae5329b7116135caa45d22627af039462">message</a>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span>}</div>
</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00173" data-start="{" data-end="}">
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#ada00e9e4a27e03bf3f097c70416f9426"> 173</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">inject_error</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; message, <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; json)</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span>{</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <a class="code hl_struct" href="structxrpl_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&amp; info(<a class="code hl_function" href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37">get_error_info</a>(code));</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> json[jss::error] = info.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#a41c32b5f04237ed4ee1fd30f702e2f8f">token</a>;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> json[jss::error_code] = info.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#a2545e9575900139af196992ef1fb4fce">code</a>;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> json[jss::error_message] = message;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span>}</div>
</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span>ErrorInfo <span class="keyword">const</span>&amp;</div>
<div class="foldopen" id="foldopen00182" data-start="{" data-end="}">
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37"> 182</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37">get_error_info</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code)</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>{</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keywordflow">if</span> (code &lt;= rpcSUCCESS || code &gt; <a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6c39e9277457cef250ed5ba259bf8460">rpcLAST</a>)</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#adcd0e789765e4e97f0d2b6e02d2e5cbc">detail::unknownError</a>;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1detail.html#aa9ef2cda7d3e8e50e26554d9f9a85964">detail::sortedErrorInfos</a>[code - 1];</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span>}</div>
</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00190" data-start="{" data-end="}">
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#adacea89cc70d7238cdb1e5044c0d8932"> 190</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#adacea89cc70d7238cdb1e5044c0d8932">make_error</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code)</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span>{</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> json;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">inject_error</a>(code, json);</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keywordflow">return</span> json;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span>}</div>
</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00198" data-start="{" data-end="}">
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#a3095592a8325522adec6e62ad8c087de"> 198</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#adacea89cc70d7238cdb1e5044c0d8932">make_error</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; message)</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span>{</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> json;</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">inject_error</a>(code, message, json);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keywordflow">return</span> json;</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span>}</div>
</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00206" data-start="{" data-end="}">
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#af6436963e0ea9042564b590c592968d3"> 206</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#af6436963e0ea9042564b590c592968d3">contains_error</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; json)</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span>{</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="keywordflow">if</span> (json.<a class="code hl_function" href="classJson_1_1Value.html#a8cf96c0f2a552051fcfc78ffee60e037">isObject</a>() &amp;&amp; json.<a class="code hl_function" href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">isMember</a>(jss::error))</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span>}</div>
</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="keywordtype">int</span></div>
<div class="foldopen" id="foldopen00214" data-start="{" data-end="}">
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1RPC.html#a21f5c7c9baa753ef488a00b55df99d0e"> 214</a></span><a class="code hl_function" href="namespacexrpl_1_1RPC.html#a21f5c7c9baa753ef488a00b55df99d0e">error_code_http_status</a>(<a class="code hl_enumeration" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">error_code_i</a> code)</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span>{</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37">get_error_info</a>(code).<a class="code hl_variable" href="structxrpl_1_1RPC_1_1ErrorInfo.html#af6c8ebe25ad8694922627646dadb2099">http_status</a>;</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span>}</div>
</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span>} <span class="comment">// namespace RPC</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="foldopen" id="foldopen00222" data-start="{" data-end="}">
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a3bc17ba4eb544962258584290ff75a67"> 222</a></span><a class="code hl_function" href="namespacexrpl.html#a3bc17ba4eb544962258584290ff75a67">rpcErrorString</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jv)</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span>{</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> XRPL_ASSERT(</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#af6436963e0ea9042564b590c592968d3">RPC::contains_error</a>(jv),</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="stringliteral">&quot;xrpl::RPC::rpcErrorString : input contains an error&quot;</span>);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">return</span> jv[jss::error].<a class="code hl_function" href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">asString</a>() + jv[jss::error_message].<a class="code hl_function" href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">asString</a>();</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span>}</div>
</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span>} <span class="comment">// namespace xrpl</span></div>
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/array.html">array</a></div></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00130">json_value.h:131</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html_a8cf96c0f2a552051fcfc78ffee60e037"><div class="ttname"><a href="classJson_1_1Value.html#a8cf96c0f2a552051fcfc78ffee60e037">Json::Value::isObject</a></div><div class="ttdeci">bool isObject() const</div><div class="ttdef"><b>Definition</b> <a href="json__value_8cpp_source.html#l01133">json_value.cpp:1133</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html_ab0d86bf425efefd03513e8dbfaca317b"><div class="ttname"><a href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">Json::Value::asString</a></div><div class="ttdeci">std::string asString() const</div><div class="ttdoc">Returns the unquoted string value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8cpp_source.html#l00471">json_value.cpp:471</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html_abfa90c81f6aee7877bd5fb4c8445994f"><div class="ttname"><a href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">Json::Value::isMember</a></div><div class="ttdeci">bool isMember(char const *key) const</div><div class="ttdoc">Return true if the object has a member named key.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8cpp_source.html#l01030">json_value.cpp:1030</a></div></div>
<div class="ttc" id="ainvalid_argument_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1detail_html_a9a7728b02691876d0e4afe1639f02233"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1detail.html#a9a7728b02691876d0e4afe1639f02233">xrpl::RPC::detail::sortErrorInfos</a></div><div class="ttdeci">constexpr auto sortErrorInfos(ErrorInfo const (&amp;unordered)[N]) -&gt; std::array&lt; ErrorInfo, M &gt;</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00111">ErrorCodes.cpp:111</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1detail_html_aa9ef2cda7d3e8e50e26554d9f9a85964"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1detail.html#aa9ef2cda7d3e8e50e26554d9f9a85964">xrpl::RPC::detail::sortedErrorInfos</a></div><div class="ttdeci">constexpr auto sortedErrorInfos</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00155">ErrorCodes.cpp:155</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1detail_html_abf66a515295c1da1af703fdd9225617a"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1detail.html#abf66a515295c1da1af703fdd9225617a">xrpl::RPC::detail::unorderedErrorInfos</a></div><div class="ttdeci">static constexpr ErrorInfo unorderedErrorInfos[]</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00032">ErrorCodes.cpp:32</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1detail_html_adcd0e789765e4e97f0d2b6e02d2e5cbc"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1detail.html#adcd0e789765e4e97f0d2b6e02d2e5cbc">xrpl::RPC::detail::unknownError</a></div><div class="ttdeci">constexpr ErrorInfo unknownError</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00157">ErrorCodes.cpp:157</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a21f5c7c9baa753ef488a00b55df99d0e"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a21f5c7c9baa753ef488a00b55df99d0e">xrpl::RPC::error_code_http_status</a></div><div class="ttdeci">int error_code_http_status(error_code_i code)</div><div class="ttdoc">Returns http status that corresponds to the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00214">ErrorCodes.cpp:214</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a859c79daba0b468e2a76ba3b51a14f37"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a859c79daba0b468e2a76ba3b51a14f37">xrpl::RPC::get_error_info</a></div><div class="ttdeci">ErrorInfo const &amp; get_error_info(error_code_i code)</div><div class="ttdoc">Returns an ErrorInfo that reflects the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00182">ErrorCodes.cpp:182</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_ab38ba029a2ca4a73976be8418028b4b5"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">xrpl::RPC::inject_error</a></div><div class="ttdeci">void inject_error(error_code_i code, Json::Value &amp;json)</div><div class="ttdoc">Add or update the json update to reflect the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00164">ErrorCodes.cpp:164</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_adacea89cc70d7238cdb1e5044c0d8932"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#adacea89cc70d7238cdb1e5044c0d8932">xrpl::RPC::make_error</a></div><div class="ttdeci">Json::Value make_error(error_code_i code)</div><div class="ttdoc">Returns a new json object that reflects the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00190">ErrorCodes.cpp:190</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_af6436963e0ea9042564b590c592968d3"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#af6436963e0ea9042564b590c592968d3">xrpl::RPC::contains_error</a></div><div class="ttdeci">bool contains_error(Json::Value const &amp;json)</div><div class="ttdoc">Returns true if the json contains an rpc error specification.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00206">ErrorCodes.cpp:206</a></div></div>
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a3bc17ba4eb544962258584290ff75a67"><div class="ttname"><a href="namespacexrpl.html#a3bc17ba4eb544962258584290ff75a67">xrpl::rpcErrorString</a></div><div class="ttdeci">std::string rpcErrorString(Json::Value const &amp;jv)</div><div class="ttdoc">Returns a single string with the contents of an RPC error.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00222">ErrorCodes.cpp:222</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76f"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76f">xrpl::error_code_i</a></div><div class="ttdeci">error_code_i</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00021">ErrorCodes.h:21</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa00ad395480dbbb2290d0af4e93a470c6"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa00ad395480dbbb2290d0af4e93a470c6">xrpl::rpcSRC_CUR_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_CUR_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00105">ErrorCodes.h:105</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa0303012265dd05569e6856a3a7cc4b9f"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0303012265dd05569e6856a3a7cc4b9f">xrpl::rpcCOMMAND_MISSING</a></div><div class="ttdeci">@ rpcCOMMAND_MISSING</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00083">ErrorCodes.h:83</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa0ac8b64d5bade2a4d7731f99213cb8e7"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0ac8b64d5bade2a4d7731f99213cb8e7">xrpl::rpcTOO_BUSY</a></div><div class="ttdeci">@ rpcTOO_BUSY</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00037">ErrorCodes.h:37</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa0d87ce3d04d619a5bb42c35640746f98"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0d87ce3d04d619a5bb42c35640746f98">xrpl::rpcOBJECT_NOT_FOUND</a></div><div class="ttdeci">@ rpcOBJECT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00124">ErrorCodes.h:124</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa0d8dfb59672229b80f53d70b12296266"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa0d8dfb59672229b80f53d70b12296266">xrpl::rpcSTREAM_MALFORMED</a></div><div class="ttdeci">@ rpcSTREAM_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00107">ErrorCodes.h:107</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa113c696877ca49d2c5ae352a3e3a40fb"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa113c696877ca49d2c5ae352a3e3a40fb">xrpl::rpcUNEXPECTED_LEDGER_TYPE</a></div><div class="ttdeci">@ rpcUNEXPECTED_LEDGER_TYPE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00143">ErrorCodes.h:143</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa12eb33aa42913fa30e26716bc7d49fe8"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa12eb33aa42913fa30e26716bc7d49fe8">xrpl::rpcTXN_NOT_FOUND</a></div><div class="ttdeci">@ rpcTXN_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00061">ErrorCodes.h:61</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa14920cfeb18fc41fef6998482a41a3b1"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa14920cfeb18fc41fef6998482a41a3b1">xrpl::rpcLGR_NOT_FOUND</a></div><div class="ttdeci">@ rpcLGR_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00053">ErrorCodes.h:53</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa1509c881a9cf0125b9df59e63d4be43e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1509c881a9cf0125b9df59e63d4be43e">xrpl::rpcNO_NETWORK</a></div><div class="ttdeci">@ rpcNO_NETWORK</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00047">ErrorCodes.h:47</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa1558bcba9a2856214a2875c0074b96f1"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1558bcba9a2856214a2875c0074b96f1">xrpl::rpcNO_CLOSED</a></div><div class="ttdeci">@ rpcNO_CLOSED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00045">ErrorCodes.h:45</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa175232cd1d2e4359e67ac2f9d0fb777d"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa175232cd1d2e4359e67ac2f9d0fb777d">xrpl::rpcNO_PERMISSION</a></div><div class="ttdeci">@ rpcNO_PERMISSION</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00034">ErrorCodes.h:34</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa1b7e6eb9d98742e23f6c34ee635d6fa2"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1b7e6eb9d98742e23f6c34ee635d6fa2">xrpl::rpcTX_SIGNED</a></div><div class="ttdeci">@ rpcTX_SIGNED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00136">ErrorCodes.h:136</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa1e367e0ae0bf160a8178b5a3dd99fafc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa1e367e0ae0bf160a8178b5a3dd99fafc">xrpl::rpcSLOW_DOWN</a></div><div class="ttdeci">@ rpcSLOW_DOWN</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00038">ErrorCodes.h:38</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa219af1e4c435f8352cfb52a80d9bf083"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa219af1e4c435f8352cfb52a80d9bf083">xrpl::rpcBAD_CREDENTIALS</a></div><div class="ttdeci">@ rpcBAD_CREDENTIALS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00133">ErrorCodes.h:133</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa270975c5354852d7b5248476859f5a65"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa270975c5354852d7b5248476859f5a65">xrpl::rpcNOT_IMPL</a></div><div class="ttdeci">@ rpcNOT_IMPL</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00112">ErrorCodes.h:112</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa279cb5a4e46ed24b24ed10cbad3dc628"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa279cb5a4e46ed24b24ed10cbad3dc628">xrpl::rpcNO_CURRENT</a></div><div class="ttdeci">@ rpcNO_CURRENT</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00046">ErrorCodes.h:46</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa33ff4935bf16d296ae5edbb050496afd"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa33ff4935bf16d296ae5edbb050496afd">xrpl::rpcISSUE_MALFORMED</a></div><div class="ttdeci">@ rpcISSUE_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00127">ErrorCodes.h:127</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa36270f89cd004f278125667c3d9fb1f7"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa36270f89cd004f278125667c3d9fb1f7">xrpl::rpcBAD_MARKET</a></div><div class="ttdeci">@ rpcBAD_MARKET</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00078">ErrorCodes.h:78</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa3826fa79887b8119307ac9ac8694ee4a"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3826fa79887b8119307ac9ac8694ee4a">xrpl::rpcBAD_FEATURE</a></div><div class="ttdeci">@ rpcBAD_FEATURE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00076">ErrorCodes.h:76</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa39327a36fc47c82f9f1779e5781eef3f"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa39327a36fc47c82f9f1779e5781eef3f">xrpl::rpcSENDMAX_MALFORMED</a></div><div class="ttdeci">@ rpcSENDMAX_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00100">ErrorCodes.h:100</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa3a2074d7ae820678bf1602775c48ccd2"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3a2074d7ae820678bf1602775c48ccd2">xrpl::rpcEXCESSIVE_LGR_RANGE</a></div><div class="ttdeci">@ rpcEXCESSIVE_LGR_RANGE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00116">ErrorCodes.h:116</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa3b383fd64ff2828a844032969eb90b7e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3b383fd64ff2828a844032969eb90b7e">xrpl::rpcORACLE_MALFORMED</a></div><div class="ttdeci">@ rpcORACLE_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00130">ErrorCodes.h:130</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa3d07329ca7d956a06e0a19faeab5d933"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3d07329ca7d956a06e0a19faeab5d933">xrpl::rpcBAD_SYNTAX</a></div><div class="ttdeci">@ rpcBAD_SYNTAX</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00027">ErrorCodes.h:27</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa3f005663ec03577829c566127e5c231e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa3f005663ec03577829c566127e5c231e">xrpl::rpcSRC_ISR_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_ISR_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00106">ErrorCodes.h:106</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">xrpl::rpcNO_PF_REQUEST</a></div><div class="ttdeci">@ rpcNO_PF_REQUEST</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00067">ErrorCodes.h:67</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa4927db5b174ca5090c1ab139dfccf57e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4927db5b174ca5090c1ab139dfccf57e">xrpl::rpcCHANNEL_AMT_MALFORMED</a></div><div class="ttdeci">@ rpcCHANNEL_AMT_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00082">ErrorCodes.h:82</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa4b8512afa8b79c02f039a99f40a50a55"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4b8512afa8b79c02f039a99f40a50a55">xrpl::rpcDELEGATE_ACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcDELEGATE_ACT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00104">ErrorCodes.h:104</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa4bd42efd73cd607767fe4b251506de46"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa4bd42efd73cd607767fe4b251506de46">xrpl::rpcSIGNING_MALFORMED</a></div><div class="ttdeci">@ rpcSIGNING_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00099">ErrorCodes.h:99</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa55fae979ca18eb5e0d0814f6c06e7e69"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa55fae979ca18eb5e0d0814f6c06e7e69">xrpl::rpcDST_AMT_MISSING</a></div><div class="ttdeci">@ rpcDST_AMT_MISSING</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00088">ErrorCodes.h:88</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa5aa1defd81d3c53470c28453e909f6c4"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa5aa1defd81d3c53470c28453e909f6c4">xrpl::rpcHIGH_FEE</a></div><div class="ttdeci">@ rpcHIGH_FEE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00039">ErrorCodes.h:39</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa5df6c640f3427ec73b339cf99f9b26b6"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa5df6c640f3427ec73b339cf99f9b26b6">xrpl::rpcDST_ACT_MISSING</a></div><div class="ttdeci">@ rpcDST_ACT_MISSING</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00085">ErrorCodes.h:85</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc">xrpl::rpcNO_EVENTS</a></div><div class="ttdeci">@ rpcNO_EVENTS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00035">ErrorCodes.h:35</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa6aa5f8209b5c377f43cd0304df04ee4c"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6aa5f8209b5c377f43cd0304df04ee4c">xrpl::rpcPUBLIC_MALFORMED</a></div><div class="ttdeci">@ rpcPUBLIC_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00098">ErrorCodes.h:98</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa6b446e051266fd73162852bd2c8a8f46"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6b446e051266fd73162852bd2c8a8f46">xrpl::rpcNOT_ENABLED</a></div><div class="ttdeci">@ rpcNOT_ENABLED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00040">ErrorCodes.h:40</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa6c39e9277457cef250ed5ba259bf8460"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6c39e9277457cef250ed5ba259bf8460">xrpl::rpcLAST</a></div><div class="ttdeci">@ rpcLAST</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00147">ErrorCodes.h:145</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa6d6e33e51cd916c1d0b0c1fe752d1242"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa6d6e33e51cd916c1d0b0c1fe752d1242">xrpl::rpcLGR_NOT_VALIDATED</a></div><div class="ttdeci">@ rpcLGR_NOT_VALIDATED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00054">ErrorCodes.h:54</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa7c79df6c4ead04e8b201eeb1feed7571"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa7c79df6c4ead04e8b201eeb1feed7571">xrpl::rpcBAD_KEY_TYPE</a></div><div class="ttdeci">@ rpcBAD_KEY_TYPE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00114">ErrorCodes.h:114</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa82e99e9a77ed4c63c8a6ffa4dbdceeb3"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa82e99e9a77ed4c63c8a6ffa4dbdceeb3">xrpl::rpcAMENDMENT_BLOCKED</a></div><div class="ttdeci">@ rpcAMENDMENT_BLOCKED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00042">ErrorCodes.h:42</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa83057a103056543043f12710bdac6886"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa83057a103056543043f12710bdac6886">xrpl::rpcMASTER_DISABLED</a></div><div class="ttdeci">@ rpcMASTER_DISABLED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00055">ErrorCodes.h:55</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa84460dd802aaad1833b922da3c0a6d0f"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa84460dd802aaad1833b922da3c0a6d0f">xrpl::rpcINTERNAL</a></div><div class="ttdeci">@ rpcINTERNAL</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00111">ErrorCodes.h:111</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa860649ce6ad5739a560f71ffb95d193d"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa860649ce6ad5739a560f71ffb95d193d">xrpl::rpcDST_AMT_MALFORMED</a></div><div class="ttdeci">@ rpcDST_AMT_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00087">ErrorCodes.h:87</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa872e8d0c7b46106856ee675bf87a4774"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa872e8d0c7b46106856ee675bf87a4774">xrpl::rpcFORBIDDEN</a></div><div class="ttdeci">@ rpcFORBIDDEN</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00029">ErrorCodes.h:29</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa8aa85fa31f887f1f448e831a3babcd96"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8aa85fa31f887f1f448e831a3babcd96">xrpl::rpcCHANNEL_MALFORMED</a></div><div class="ttdeci">@ rpcCHANNEL_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00081">ErrorCodes.h:81</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa8b609b4c3b4c842d54d40038587c869b"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8b609b4c3b4c842d54d40038587c869b">xrpl::rpcDB_DESERIALIZATION</a></div><div class="ttdeci">@ rpcDB_DESERIALIZATION</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00115">ErrorCodes.h:115</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa8cabce97d6bdf9df65b6d35eab8e7f99"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8cabce97d6bdf9df65b6d35eab8e7f99">xrpl::rpcALREADY_SINGLE_SIG</a></div><div class="ttdeci">@ rpcALREADY_SINGLE_SIG</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00073">ErrorCodes.h:73</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa8f644f5fae75ef79dd92a656d38136e1"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa8f644f5fae75ef79dd92a656d38136e1">xrpl::rpcLGR_IDX_MALFORMED</a></div><div class="ttdeci">@ rpcLGR_IDX_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00094">ErrorCodes.h:94</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa93a73daf3ce774dba1284b5ba0b205a1"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa93a73daf3ce774dba1284b5ba0b205a1">xrpl::rpcUNKNOWN_COMMAND</a></div><div class="ttdeci">@ rpcUNKNOWN_COMMAND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00066">ErrorCodes.h:66</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa949f2c42f40320f5320688fed244a544"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa949f2c42f40320f5320688fed244a544">xrpl::rpcSRC_ACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcSRC_ACT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00103">ErrorCodes.h:103</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa9598df266eb1813d90437bea86252ef0"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa9598df266eb1813d90437bea86252ef0">xrpl::rpcSRC_ACT_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_ACT_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00101">ErrorCodes.h:101</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc">xrpl::rpcNOT_SUPPORTED</a></div><div class="ttdeci">@ rpcNOT_SUPPORTED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00113">ErrorCodes.h:113</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa9e615ffd43818acdc22656fd0e6d7e3e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa9e615ffd43818acdc22656fd0e6d7e3e">xrpl::rpcLGR_IDXS_INVALID</a></div><div class="ttdeci">@ rpcLGR_IDXS_INVALID</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00093">ErrorCodes.h:93</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faa1dcccc5a75f8263d6e641a65091391e"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faa1dcccc5a75f8263d6e641a65091391e">xrpl::rpcEXPIRED_VALIDATOR_LIST</a></div><div class="ttdeci">@ rpcEXPIRED_VALIDATOR_LIST</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00118">ErrorCodes.h:118</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faad5354f2aa55e41a5ec90ebda67aa9aa"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faad5354f2aa55e41a5ec90ebda67aa9aa">xrpl::rpcNOT_SYNCED</a></div><div class="ttdeci">@ rpcNOT_SYNCED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00048">ErrorCodes.h:48</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">xrpl::rpcACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcACT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00051">ErrorCodes.h:51</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fabddd93a232dbbed0e23b40ae9a2199cc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fabddd93a232dbbed0e23b40ae9a2199cc">xrpl::rpcBAD_SEED</a></div><div class="ttdeci">@ rpcBAD_SEED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00080">ErrorCodes.h:80</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fac363f6243e4282c5b442c401bd43936b"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac363f6243e4282c5b442c401bd43936b">xrpl::rpcATX_DEPRECATED</a></div><div class="ttdeci">@ rpcATX_DEPRECATED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00108">ErrorCodes.h:108</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fac4468894023ead83fcc6617aaddc8410"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac4468894023ead83fcc6617aaddc8410">xrpl::rpcWRONG_NETWORK</a></div><div class="ttdeci">@ rpcWRONG_NETWORK</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00031">ErrorCodes.h:31</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fac8f9c6bbbe5deb2fed441f3d6ca6049c"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fac8f9c6bbbe5deb2fed441f3d6ca6049c">xrpl::rpcDOMAIN_MALFORMED</a></div><div class="ttdeci">@ rpcDOMAIN_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00139">ErrorCodes.h:139</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faca434011d0cb0b10b1fb0bebbec692be"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faca434011d0cb0b10b1fb0bebbec692be">xrpl::rpcJSON_RPC</a></div><div class="ttdeci">@ rpcJSON_RPC</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00028">ErrorCodes.h:28</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fad2294cad7a9c65c7b78a6ca5773d0cdc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad2294cad7a9c65c7b78a6ca5773d0cdc">xrpl::rpcDST_ACT_MALFORMED</a></div><div class="ttdeci">@ rpcDST_ACT_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00084">ErrorCodes.h:84</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fad2d7b6db0c97c5ea41ee2be6a5052caf"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad2d7b6db0c97c5ea41ee2be6a5052caf">xrpl::rpcINVALID_HOTWALLET</a></div><div class="ttdeci">@ rpcINVALID_HOTWALLET</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00062">ErrorCodes.h:62</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fad8a6628ca96e50c31b7f22bdbbfe70d5"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fad8a6628ca96e50c31b7f22bdbbfe70d5">xrpl::rpcDST_ACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcDST_ACT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00086">ErrorCodes.h:86</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fadb02ba6ab2296abf4d463fd708de4f06"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fadb02ba6ab2296abf4d463fd708de4f06">xrpl::rpcENTRY_NOT_FOUND</a></div><div class="ttdeci">@ rpcENTRY_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00142">ErrorCodes.h:142</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fae36b0c4fad5501c229349489d65988e9"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae36b0c4fad5501c229349489d65988e9">xrpl::rpcUNKNOWN</a></div><div class="ttdeci">@ rpcUNKNOWN</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00023">ErrorCodes.h:23</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fae8767c8c4cd7a974aad5fa2d4259e492"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae8767c8c4cd7a974aad5fa2d4259e492">xrpl::rpcDST_ISR_MALFORMED</a></div><div class="ttdeci">@ rpcDST_ISR_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00089">ErrorCodes.h:89</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fae9a0442c8d1040a131c86316609c74af"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fae9a0442c8d1040a131c86316609c74af">xrpl::rpcBAD_ISSUER</a></div><div class="ttdeci">@ rpcBAD_ISSUER</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00077">ErrorCodes.h:77</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">xrpl::rpcINVALID_PARAMS</a></div><div class="ttdeci">@ rpcINVALID_PARAMS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00065">ErrorCodes.h:65</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faf02768bc2c8cb4ce16a72b661fb4fa1a"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf02768bc2c8cb4ce16a72b661fb4fa1a">xrpl::rpcSRC_ACT_MISSING</a></div><div class="ttdeci">@ rpcSRC_ACT_MISSING</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00102">ErrorCodes.h:102</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faf0d52332ec13bf8696a61f86f32b3133"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf0d52332ec13bf8696a61f86f32b3133">xrpl::rpcBAD_SECRET</a></div><div class="ttdeci">@ rpcBAD_SECRET</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00079">ErrorCodes.h:79</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">xrpl::rpcACT_MALFORMED</a></div><div class="ttdeci">@ rpcACT_MALFORMED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00071">ErrorCodes.h:71</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faf5707d84f9df4ed4f67765b644383a47"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf5707d84f9df4ed4f67765b644383a47">xrpl::rpcALREADY_MULTISIG</a></div><div class="ttdeci">@ rpcALREADY_MULTISIG</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00072">ErrorCodes.h:72</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faf5f984508a7eb726be7ee1e5807c42c8"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf5f984508a7eb726be7ee1e5807c42c8">xrpl::rpcINVALID_LGR_RANGE</a></div><div class="ttdeci">@ rpcINVALID_LGR_RANGE</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00117">ErrorCodes.h:117</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fafa4be1e62e5127cc2a35de0d3b2312da"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fafa4be1e62e5127cc2a35de0d3b2312da">xrpl::rpcNOT_READY</a></div><div class="ttdeci">@ rpcNOT_READY</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00041">ErrorCodes.h:41</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faffe7dc93a7f5be3abc5d49473c0776c0"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faffe7dc93a7f5be3abc5d49473c0776c0">xrpl::rpcSUCCESS</a></div><div class="ttdeci">@ rpcSUCCESS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00025">ErrorCodes.h:25</a></div></div>
<div class="ttc" id="aout_of_range_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/out_of_range.html">std::out_of_range</a></div></div>
<div class="ttc" id="astdexcept_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/stdexcept.html">stdexcept</a></div></div>
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
<div class="ttc" id="astructxrpl_1_1RPC_1_1ErrorInfo_html"><div class="ttname"><a href="structxrpl_1_1RPC_1_1ErrorInfo.html">xrpl::RPC::ErrorInfo</a></div><div class="ttdoc">Maps an rpc error code to its token, default message, and HTTP status.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00169">ErrorCodes.h:170</a></div></div>
<div class="ttc" id="astructxrpl_1_1RPC_1_1ErrorInfo_html_a2545e9575900139af196992ef1fb4fce"><div class="ttname"><a href="structxrpl_1_1RPC_1_1ErrorInfo.html#a2545e9575900139af196992ef1fb4fce">xrpl::RPC::ErrorInfo::code</a></div><div class="ttdeci">error_code_i code</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00200">ErrorCodes.h:200</a></div></div>
<div class="ttc" id="astructxrpl_1_1RPC_1_1ErrorInfo_html_a41c32b5f04237ed4ee1fd30f702e2f8f"><div class="ttname"><a href="structxrpl_1_1RPC_1_1ErrorInfo.html#a41c32b5f04237ed4ee1fd30f702e2f8f">xrpl::RPC::ErrorInfo::token</a></div><div class="ttdeci">Json::StaticString token</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00201">ErrorCodes.h:201</a></div></div>
<div class="ttc" id="astructxrpl_1_1RPC_1_1ErrorInfo_html_ae5329b7116135caa45d22627af039462"><div class="ttname"><a href="structxrpl_1_1RPC_1_1ErrorInfo.html#ae5329b7116135caa45d22627af039462">xrpl::RPC::ErrorInfo::message</a></div><div class="ttdeci">Json::StaticString message</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00202">ErrorCodes.h:202</a></div></div>
<div class="ttc" id="astructxrpl_1_1RPC_1_1ErrorInfo_html_af6c8ebe25ad8694922627646dadb2099"><div class="ttname"><a href="structxrpl_1_1RPC_1_1ErrorInfo.html#af6c8ebe25ad8694922627646dadb2099">xrpl::RPC::ErrorInfo::http_status</a></div><div class="ttdeci">int http_status</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00203">ErrorCodes.h:203</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>