mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 03:55:53 +00:00
deploy: 55dc7a252e
This commit is contained in:
@@ -205,183 +205,185 @@ $(function() {
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aec50f1af38ef002318ef8f19ca27560c"> 134</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aec50f1af38ef002318ef8f19ca27560c">rpcDB_DESERIALIZATION</a> = 77,</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a17eb7d1bbf2edda8e901174203e1e824"> 135</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a17eb7d1bbf2edda8e901174203e1e824">rpcEXCESSIVE_LGR_RANGE</a> = 78,</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a2a99d997786c15b8688fdcd6242d386f"> 136</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a2a99d997786c15b8688fdcd6242d386f">rpcINVALID_LGR_RANGE</a> = 79,</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"> 137</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">rpcLAST</a> =</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a2a99d997786c15b8688fdcd6242d386f">rpcINVALID_LGR_RANGE</a> <span class="comment">// rpcLAST should always equal the last code.=</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> };</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9"> 145</a></span> <span class="keyword">enum</span> <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">warning_code_i</a> {</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"> 146</a></span>  <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">warnRPC_UNSUPPORTED_MAJORITY</a> = 1001,</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"> 147</a></span>  <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">warnRPC_AMENDMENT_BLOCKED</a> = 1002,</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> };</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5"> 137</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5">rpcEXPIRED_VALIDATOR_LIST</a> = 80,</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"> 138</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">rpcLAST</a> =</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5">rpcEXPIRED_VALIDATOR_LIST</a> <span class="comment">// rpcLAST should always equal the last code.</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> };</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9"> 146</a></span> <span class="keyword">enum</span> <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">warning_code_i</a> {</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"> 147</a></span>  <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">warnRPC_UNSUPPORTED_MAJORITY</a> = 1001,</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"> 148</a></span>  <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">warnRPC_AMENDMENT_BLOCKED</a> = 1002,</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca"> 149</a></span>  <a class="code" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca">warnRPC_EXPIRED_VALIDATOR_LIST</a> = 1003,</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> };</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment">// VFALCO NOTE these should probably not be in the RPC namespace.</span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword">namespace </span>RPC {</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment">// VFALCO NOTE these should probably not be in the RPC namespace.</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html"> 157</a></span> <span class="keyword">struct </span><a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a></div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> {</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="comment">// Default ctor needed to produce an empty std::array during constexpr eval.</span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89"> 160</a></span>  constexpr <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ErrorInfo</a>()</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  : <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aa4f3cb4313d397ba327dfc49ce439cae">rpcUNKNOWN</a>), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(<span class="stringliteral">"unknown"</span>), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(<span class="stringliteral">"An unknown error code."</span>)</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  {</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a"> 165</a></span>  constexpr <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ErrorInfo</a>(</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* message_)</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  : <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_)</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  {</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7"> 173</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76"> 174</a></span>  <a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67"> 175</a></span>  <a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> };</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf"> 186</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> {</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  json[jss::error] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  json[jss::error_code] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  json[jss::error_message] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a073aa52d66bf3061aed8861d1db747d0"> 196</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<span class="keywordtype">int</span> code, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> {</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a>(code), json);</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a2b8314da490d3e5f165dcc839bd2271e"> 203</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> {</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  json[jss::error] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  json[jss::error_code] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  json[jss::error_message] = message;</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> }</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  </div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="keyword">namespace </span>RPC {</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html"> 159</a></span> <span class="keyword">struct </span><a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> {</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">// Default ctor needed to produce an empty std::array during constexpr eval.</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89"> 162</a></span>  constexpr <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ErrorInfo</a>()</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  : <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aa4f3cb4313d397ba327dfc49ce439cae">rpcUNKNOWN</a>), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(<span class="stringliteral">"unknown"</span>), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(<span class="stringliteral">"An unknown error code."</span>)</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  {</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  }</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a"> 167</a></span>  constexpr <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ErrorInfo</a>(</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* message_)</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  : <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_), <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_)</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  {</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7"> 175</a></span>  <a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76"> 176</a></span>  <a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67"> 177</a></span>  <a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> };</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf"> 188</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> {</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  json[jss::error] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  json[jss::error_code] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  json[jss::error_message] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a073aa52d66bf3061aed8861d1db747d0"> 198</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<span class="keywordtype">int</span> code, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> {</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a>(code), json);</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> }</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  </div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a2b8314da490d3e5f165dcc839bd2271e"> 205</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message, JsonValue& json)</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> {</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  json[jss::error] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  json[jss::error_code] = info.<a class="code" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  json[jss::error_message] = message;</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> }</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message);</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749"> 224</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message)</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> {</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4">rpcINVALID_PARAMS</a>, message);</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> }</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2"> 230</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> {</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Missing field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> }</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06"> 236</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> {</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#ae31cefa7ecb22004bf04e70cbe7c088f"> 242</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> {</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> }</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636"> 248</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not object."</span>;</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> }</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b"> 254</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> {</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> }</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  </div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5f3c2453b9b53d0ee3a761260201b972"> 260</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> {</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> }</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6"> 266</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> {</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> }</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a700c1619a25a23c416caeb3c54fe3c29"> 272</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> {</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> }</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  </div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f"> 278</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> {</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> }</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af10bc439258bba422e8f6f1860c89192"> 284</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> {</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> }</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  </div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968"> 290</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> {</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not "</span> + type + <span class="stringliteral">"."</span>;</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> }</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af31a2771190b89eb9b9c04e4038b9cac"> 296</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> {</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> }</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  </div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325"> 302</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> {</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(name, type));</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> }</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  </div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a0c4faf6372ccec80555e46ecdda67b20"> 308</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> {</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> }</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  </div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f"> 314</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">not_validator_error</a>()</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> {</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<span class="stringliteral">"not a validator"</span>);</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> }</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  </div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <a class="code" href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">contains_error</a>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  </div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> } <span class="comment">// namespace RPC</span></div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message);</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749"> 226</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message)</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> {</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4">rpcINVALID_PARAMS</a>, message);</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2"> 232</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> {</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Missing field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06"> 238</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> {</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> }</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  </div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#ae31cefa7ecb22004bf04e70cbe7c088f"> 244</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> {</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> }</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  </div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636"> 250</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> {</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not object."</span>;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> }</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b"> 256</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> {</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> }</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5f3c2453b9b53d0ee3a761260201b972"> 262</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> {</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> }</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6"> 268</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> {</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> }</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  </div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a700c1619a25a23c416caeb3c54fe3c29"> 274</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> {</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> }</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f"> 280</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> {</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(name));</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> }</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af10bc439258bba422e8f6f1860c89192"> 286</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> {</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> }</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  </div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968"> 292</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> {</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not "</span> + type + <span class="stringliteral">"."</span>;</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> }</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  </div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af31a2771190b89eb9b9c04e4038b9cac"> 298</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> {</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> }</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  </div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325"> 304</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> {</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(name, type));</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> }</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  </div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a0c4faf6372ccec80555e46ecdda67b20"> 310</a></span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& type)</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> {</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> }</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  </div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">inline</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f"> 316</a></span> <a class="code" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">not_validator_error</a>()</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> {</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<span class="stringliteral">"not a validator"</span>);</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> }</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  </div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <a class="code" href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">contains_error</a>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <a class="code" href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">rpcErrorString</a>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& jv);</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  </div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> } <span class="comment">// namespace RPC</span></div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <a class="code" href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">rpcErrorString</a>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& jv);</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  </div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28">ripple::rpcNO_NETWORK</a></div><div class="ttdeci">@ rpcNO_NETWORK</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00066">ErrorCodes.h:66</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932aec50f1af38ef002318ef8f19ca27560c"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aec50f1af38ef002318ef8f19ca27560c">ripple::rpcDB_DESERIALIZATION</a></div><div class="ttdeci">@ rpcDB_DESERIALIZATION</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00134">ErrorCodes.h:134</a></div></div>
|
||||
@@ -390,9 +392,9 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a9523d81ad23bb880bc9169950a780501"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a9523d81ad23bb880bc9169950a780501">ripple::rpcLGR_IDXS_INVALID</a></div><div class="ttdeci">@ rpcLGR_IDXS_INVALID</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00112">ErrorCodes.h:112</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 class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4">ripple::rpcINVALID_PARAMS</a></div><div class="ttdeci">@ rpcINVALID_PARAMS</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00084">ErrorCodes.h:84</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aa01c09044342d3707e231b3ede5086f0"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">ripple::RPC::get_error_info</a></div><div class="ttdeci">ErrorInfo const & 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#l00194">ErrorCodes.cpp:194</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5d5937b3d78d931333b1c278e13e23b2"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">ripple::RPC::missing_field_message</a></div><div class="ttdeci">std::string missing_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00230">ErrorCodes.h:230</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a23f02900cac703bddf91fff471cb9d65"><div class="ttname"><a href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">ripple::rpcErrorString</a></div><div class="ttdeci">std::string rpcErrorString(Json::Value const &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#l00228">ErrorCodes.cpp:228</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aa01c09044342d3707e231b3ede5086f0"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">ripple::RPC::get_error_info</a></div><div class="ttdeci">ErrorInfo const & 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#l00195">ErrorCodes.cpp:195</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5d5937b3d78d931333b1c278e13e23b2"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">ripple::RPC::missing_field_message</a></div><div class="ttdeci">std::string missing_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00232">ErrorCodes.h:232</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a23f02900cac703bddf91fff471cb9d65"><div class="ttname"><a href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">ripple::rpcErrorString</a></div><div class="ttdeci">std::string rpcErrorString(Json::Value const &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#l00229">ErrorCodes.cpp:229</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a45e21d134aa6921065916fcbcb875877"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a45e21d134aa6921065916fcbcb875877">ripple::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#l00122">ErrorCodes.h:122</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ac1a6dff600f246dd125ce9d6d02eeeba"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ac1a6dff600f246dd125ce9d6d02eeeba">ripple::rpcJSON_RPC</a></div><div class="ttdeci">@ rpcJSON_RPC</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00047">ErrorCodes.h:47</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a9e3a3fa2bb1e04da92ea7253db9189d3"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a9e3a3fa2bb1e04da92ea7253db9189d3">ripple::rpcSIGNING_MALFORMED</a></div><div class="ttdeci">@ rpcSIGNING_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00118">ErrorCodes.h:118</a></div></div>
|
||||
@@ -401,21 +403,21 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a41779a85a65f6faeb648c960e77f388f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a41779a85a65f6faeb648c960e77f388f">ripple::rpcTOO_BUSY</a></div><div class="ttdeci">@ rpcTOO_BUSY</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00056">ErrorCodes.h:56</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a19bc14d53a84c5b1d5c1693aa0e9e317"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a19bc14d53a84c5b1d5c1693aa0e9e317">ripple::rpcATX_DEPRECATED</a></div><div class="ttdeci">@ rpcATX_DEPRECATED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00127">ErrorCodes.h:127</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a94c06165d2c9835fabfdb7388b68d376"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a94c06165d2c9835fabfdb7388b68d376">ripple::rpcLGR_NOT_FOUND</a></div><div class="ttdeci">@ rpcLGR_NOT_FOUND</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00072">ErrorCodes.h:72</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a97b09da785b1944b7b1964eeff97a43b"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">ripple::RPC::object_field_error</a></div><div class="ttdeci">Json::Value object_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00254">ErrorCodes.h:254</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a97b09da785b1944b7b1964eeff97a43b"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">ripple::RPC::object_field_error</a></div><div class="ttdeci">Json::Value object_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00256">ErrorCodes.h:256</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">ripple::error_code_i</a></div><div class="ttdeci">error_code_i</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00040">ErrorCodes.h:40</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aa63398ec847d01de9d9af3598e3e2325"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">ripple::RPC::expected_field_error</a></div><div class="ttdeci">Json::Value expected_field_error(std::string const &name, std::string const &type)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00302">ErrorCodes.h:302</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aec2e1163b39a450d3917af9dd15b0f06"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">ripple::RPC::missing_field_error</a></div><div class="ttdeci">Json::Value missing_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00236">ErrorCodes.h:236</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aa63398ec847d01de9d9af3598e3e2325"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">ripple::RPC::expected_field_error</a></div><div class="ttdeci">Json::Value expected_field_error(std::string const &name, std::string const &type)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00304">ErrorCodes.h:304</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aec2e1163b39a450d3917af9dd15b0f06"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">ripple::RPC::missing_field_error</a></div><div class="ttdeci">Json::Value missing_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00238">ErrorCodes.h:238</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea">ripple::rpcAMENDMENT_BLOCKED</a></div><div class="ttdeci">@ rpcAMENDMENT_BLOCKED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00061">ErrorCodes.h:61</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a7da2ca0fedad1eb20f8a492eebc55d67"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">ripple::RPC::ErrorInfo::message</a></div><div class="ttdeci">Json::StaticString message</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00175">ErrorCodes.h:175</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a7bad76b302b3dcc91dd60c10830d0968"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">ripple::RPC::expected_field_message</a></div><div class="ttdeci">std::string expected_field_message(std::string const &name, std::string const &type)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00290">ErrorCodes.h:290</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">ripple::warnRPC_AMENDMENT_BLOCKED</a></div><div class="ttdeci">@ warnRPC_AMENDMENT_BLOCKED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00147">ErrorCodes.h:147</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a7da2ca0fedad1eb20f8a492eebc55d67"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">ripple::RPC::ErrorInfo::message</a></div><div class="ttdeci">Json::StaticString message</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00177">ErrorCodes.h:177</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a7bad76b302b3dcc91dd60c10830d0968"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">ripple::RPC::expected_field_message</a></div><div class="ttdeci">std::string expected_field_message(std::string const &name, std::string const &type)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00292">ErrorCodes.h:292</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">ripple::warnRPC_AMENDMENT_BLOCKED</a></div><div class="ttdeci">@ warnRPC_AMENDMENT_BLOCKED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00148">ErrorCodes.h:148</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173">ripple::rpcSUCCESS</a></div><div class="ttdeci">@ rpcSUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00044">ErrorCodes.h:44</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a55a275d2d3a5e83d075c30650592949d"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a55a275d2d3a5e83d075c30650592949d">ripple::rpcSLOW_DOWN</a></div><div class="ttdeci">@ rpcSLOW_DOWN</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00057">ErrorCodes.h:57</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a9f5e626e438381329d8b9ef18fe26636"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">ripple::RPC::object_field_message</a></div><div class="ttdeci">std::string object_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00248">ErrorCodes.h:248</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a47cdbe8044639c7f7caf595c32332d89"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo()</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00160">ErrorCodes.h:160</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1a79f0c33d1405fe85c40d63a49658bd"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">ripple::RPC::contains_error</a></div><div class="ttdeci">bool contains_error(Json::Value const &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#l00218">ErrorCodes.cpp:218</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a9f5e626e438381329d8b9ef18fe26636"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">ripple::RPC::object_field_message</a></div><div class="ttdeci">std::string object_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00250">ErrorCodes.h:250</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a47cdbe8044639c7f7caf595c32332d89"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo()</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00162">ErrorCodes.h:162</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1a79f0c33d1405fe85c40d63a49658bd"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">ripple::RPC::contains_error</a></div><div class="ttdeci">bool contains_error(Json::Value const &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#l00219">ErrorCodes.cpp:219</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932afff1867365ccf8f1661c8d796c93ef4c"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932afff1867365ccf8f1661c8d796c93ef4c">ripple::rpcSRC_ACT_MISSING</a></div><div class="ttdeci">@ rpcSRC_ACT_MISSING</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00121">ErrorCodes.h:121</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">ripple::warning_code_i</a></div><div class="ttdeci">warning_code_i</div><div class="ttdoc">Codes returned in the warnings array of certain RPC commands.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00145">ErrorCodes.h:145</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">ripple::warning_code_i</a></div><div class="ttdeci">warning_code_i</div><div class="ttdoc">Codes returned in the warnings array of certain RPC commands.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00146">ErrorCodes.h:146</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a11b93b10f2466e402c74aa4a9b5cb2f7"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a11b93b10f2466e402c74aa4a9b5cb2f7">ripple::rpcALREADY_SINGLE_SIG</a></div><div class="ttdeci">@ rpcALREADY_SINGLE_SIG</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00092">ErrorCodes.h:92</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ad2f8f023342d32f2602688202894cabe"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ad2f8f023342d32f2602688202894cabe">ripple::rpcBAD_SEED</a></div><div class="ttdeci">@ rpcBAD_SEED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00099">ErrorCodes.h:99</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ae44751c9b253c3b447721a315c5525c7"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ae44751c9b253c3b447721a315c5525c7">ripple::rpcHIGH_FEE</a></div><div class="ttdeci">@ rpcHIGH_FEE</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00058">ErrorCodes.h:58</a></div></div>
|
||||
@@ -423,23 +425,24 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a044301ed3c32624aade5888d1c60566f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a044301ed3c32624aade5888d1c60566f">ripple::rpcACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcACT_NOT_FOUND</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00070">ErrorCodes.h:70</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a34422dc324e558835f6b63c7f430729a"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a34422dc324e558835f6b63c7f430729a">ripple::rpcTXN_NOT_FOUND</a></div><div class="ttdeci">@ rpcTXN_NOT_FOUND</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00080">ErrorCodes.h:80</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a9e0f3e460ea9530eb29736e0cd9b4304"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a9e0f3e460ea9530eb29736e0cd9b4304">ripple::rpcSRC_ISR_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_ISR_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00125">ErrorCodes.h:125</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca">ripple::warnRPC_EXPIRED_VALIDATOR_LIST</a></div><div class="ttdeci">@ warnRPC_EXPIRED_VALIDATOR_LIST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00149">ErrorCodes.h:149</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a8ea4e65eae406a522497b5a12dcde036"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a8ea4e65eae406a522497b5a12dcde036">ripple::rpcSTREAM_MALFORMED</a></div><div class="ttdeci">@ rpcSTREAM_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00126">ErrorCodes.h:126</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">ripple::warnRPC_UNSUPPORTED_MAJORITY</a></div><div class="ttdeci">@ warnRPC_UNSUPPORTED_MAJORITY</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00146">ErrorCodes.h:146</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"><div class="ttname"><a href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">ripple::warnRPC_UNSUPPORTED_MAJORITY</a></div><div class="ttdeci">@ warnRPC_UNSUPPORTED_MAJORITY</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00147">ErrorCodes.h:147</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ac6b74149815b431c392a0538b5df7b39"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ac6b74149815b431c392a0538b5df7b39">ripple::rpcNOT_ENABLED</a></div><div class="ttdeci">@ rpcNOT_ENABLED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00059">ErrorCodes.h:59</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a02193610b83aaaae66347f6236dcf995"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a02193610b83aaaae66347f6236dcf995">ripple::rpcNO_EVENTS</a></div><div class="ttdeci">@ rpcNO_EVENTS</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00054">ErrorCodes.h:54</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">ripple::rpcNO_CURRENT</a></div><div class="ttdeci">@ rpcNO_CURRENT</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00065">ErrorCodes.h:65</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html">ripple::RPC::ErrorInfo</a></div><div class="ttdoc">Maps an rpc error code to its token and default message.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00157">ErrorCodes.h:157</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html">ripple::RPC::ErrorInfo</a></div><div class="ttdoc">Maps an rpc error code to its token and default message.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00159">ErrorCodes.h:159</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a7eec43248b5e3342fa6ff1fcf9976519"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7eec43248b5e3342fa6ff1fcf9976519">ripple::rpcDST_ISR_MALFORMED</a></div><div class="ttdeci">@ rpcDST_ISR_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00108">ErrorCodes.h:108</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ab86d56c66edde43e490eec3de23deb47"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ab86d56c66edde43e490eec3de23deb47">ripple::rpcCOMMAND_MISSING</a></div><div class="ttdeci">@ rpcCOMMAND_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="anamespaceripple_1_1RPC_html_a711d9d7325b0ccd758453fcbea4c524f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">ripple::RPC::not_validator_error</a></div><div class="ttdeci">Json::Value not_validator_error()</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00314">ErrorCodes.h:314</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a711d9d7325b0ccd758453fcbea4c524f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">ripple::RPC::not_validator_error</a></div><div class="ttdeci">Json::Value not_validator_error()</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00316">ErrorCodes.h:316</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ac88bf3c7097096c5ed0fc4d354e91950"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ac88bf3c7097096c5ed0fc4d354e91950">ripple::rpcDST_ACT_MALFORMED</a></div><div class="ttdeci">@ rpcDST_ACT_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00103">ErrorCodes.h:103</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a63fd0c00dcecf06df448bf7eddf6bd8c"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a63fd0c00dcecf06df448bf7eddf6bd8c">ripple::rpcALREADY_MULTISIG</a></div><div class="ttdeci">@ rpcALREADY_MULTISIG</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00091">ErrorCodes.h:91</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">ripple::rpcLAST</a></div><div class="ttdeci">@ rpcLAST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00137">ErrorCodes.h:137</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">ripple::rpcLAST</a></div><div class="ttdeci">@ rpcLAST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00138">ErrorCodes.h:138</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f">ripple::rpcINTERNAL</a></div><div class="ttdeci">@ rpcINTERNAL</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00130">ErrorCodes.h:130</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a60badd0db2ef5b154d6101fe7b845e39"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a60badd0db2ef5b154d6101fe7b845e39">ripple::rpcCHANNEL_AMT_MALFORMED</a></div><div class="ttdeci">@ rpcCHANNEL_AMT_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="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932aec93776d4f8dd6d4dac1ac2a447d196a"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aec93776d4f8dd6d4dac1ac2a447d196a">ripple::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#l00105">ErrorCodes.h:105</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a9a898f996bdd8a3b2e718444d86e1640"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a9a898f996bdd8a3b2e718444d86e1640">ripple::rpcNOT_IMPL</a></div><div class="ttdeci">@ rpcNOT_IMPL</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00131">ErrorCodes.h:131</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a786aa1fb7be9a79763f72a11aa8224b6"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">ripple::RPC::invalid_field_message</a></div><div class="ttdeci">std::string invalid_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00266">ErrorCodes.h:266</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a786aa1fb7be9a79763f72a11aa8224b6"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">ripple::RPC::invalid_field_message</a></div><div class="ttdeci">std::string invalid_field_message(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00268">ErrorCodes.h:268</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a967859223f75630b2c78876fca0c0436"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a967859223f75630b2c78876fca0c0436">ripple::rpcSRC_ACT_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_ACT_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00120">ErrorCodes.h:120</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932abbd1895751c150ad43066e45683a3a6a"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932abbd1895751c150ad43066e45683a3a6a">ripple::rpcFORBIDDEN</a></div><div class="ttdeci">@ rpcFORBIDDEN</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00048">ErrorCodes.h:48</a></div></div>
|
||||
@@ -457,22 +460,23 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a2a99d997786c15b8688fdcd6242d386f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a2a99d997786c15b8688fdcd6242d386f">ripple::rpcINVALID_LGR_RANGE</a></div><div class="ttdeci">@ rpcINVALID_LGR_RANGE</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00136">ErrorCodes.h:136</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932ad23b4971210983fe07f7225143e02225"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932ad23b4971210983fe07f7225143e02225">ripple::rpcSRC_CUR_MALFORMED</a></div><div class="ttdeci">@ rpcSRC_CUR_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00124">ErrorCodes.h:124</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a04a908ae049e097e9e7896ba3deef874"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a04a908ae049e097e9e7896ba3deef874">ripple::rpcDST_ACT_MISSING</a></div><div class="ttdeci">@ rpcDST_ACT_MISSING</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00104">ErrorCodes.h:104</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5b6ce0616f6995340f4dd846660c3749"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">ripple::RPC::make_param_error</a></div><div class="ttdeci">Json::Value make_param_error(std::string const &message)</div><div class="ttdoc">Returns a new json object that indicates invalid parameters.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00224">ErrorCodes.h:224</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a51d565c582c370606a801cca4f51812a"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo(error_code_i code_, char const *token_, char const *message_)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00165">ErrorCodes.h:165</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5b6ce0616f6995340f4dd846660c3749"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">ripple::RPC::make_param_error</a></div><div class="ttdeci">Json::Value make_param_error(std::string const &message)</div><div class="ttdoc">Returns a new json object that indicates invalid parameters.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00226">ErrorCodes.h:226</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a51d565c582c370606a801cca4f51812a"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo(error_code_i code_, char const *token_, char const *message_)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00167">ErrorCodes.h:167</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773">ripple::rpcNO_CLOSED</a></div><div class="ttdeci">@ rpcNO_CLOSED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00064">ErrorCodes.h:64</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a888a186bc5ae79d68140783e22298394"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a888a186bc5ae79d68140783e22298394">ripple::rpcBAD_SECRET</a></div><div class="ttdeci">@ rpcBAD_SECRET</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00098">ErrorCodes.h:98</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a06d57c943aeb0aff8b6d87d64cbcfa04"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a06d57c943aeb0aff8b6d87d64cbcfa04">ripple::rpcBAD_ISSUER</a></div><div class="ttdeci">@ rpcBAD_ISSUER</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00096">ErrorCodes.h:96</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a577bde9602a28f59e445c496f92a1ccf"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">ripple::RPC::inject_error</a></div><div class="ttdeci">void inject_error(error_code_i code, JsonValue &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_8h_source.html#l00186">ErrorCodes.h:186</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a3f2a31e585bbecb3af3740d34d7df15f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">ripple::RPC::invalid_field_error</a></div><div class="ttdeci">Json::Value invalid_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00278">ErrorCodes.h:278</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a577bde9602a28f59e445c496f92a1ccf"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">ripple::RPC::inject_error</a></div><div class="ttdeci">void inject_error(error_code_i code, JsonValue &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_8h_source.html#l00188">ErrorCodes.h:188</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a3f2a31e585bbecb3af3740d34d7df15f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">ripple::RPC::invalid_field_error</a></div><div class="ttdeci">Json::Value invalid_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00280">ErrorCodes.h:280</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a55f16b6766448484475fc0f2db63d92b"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a55f16b6766448484475fc0f2db63d92b">ripple::rpcMASTER_DISABLED</a></div><div class="ttdeci">@ rpcMASTER_DISABLED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00074">ErrorCodes.h:74</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a2cd6200f6709780fcf1dd26ec9cd2866"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">ripple::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#l00202">ErrorCodes.cpp:202</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a2cd6200f6709780fcf1dd26ec9cd2866"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">ripple::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#l00203">ErrorCodes.cpp:203</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a5a9afe2f583b5c5e615979d14c00e7bd"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a5a9afe2f583b5c5e615979d14c00e7bd">ripple::rpcBAD_FEATURE</a></div><div class="ttdeci">@ rpcBAD_FEATURE</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00095">ErrorCodes.h:95</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a8e9f8835d2e92985ab09e927ef569c76"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">ripple::RPC::ErrorInfo::token</a></div><div class="ttdeci">Json::StaticString token</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00174">ErrorCodes.h:174</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a8e9f8835d2e92985ab09e927ef569c76"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">ripple::RPC::ErrorInfo::token</a></div><div class="ttdeci">Json::StaticString token</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00176">ErrorCodes.h:176</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932aaa66891292b88906637528756e064d1e"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aaa66891292b88906637528756e064d1e">ripple::rpcNO_PF_REQUEST</a></div><div class="ttdeci">@ rpcNO_PF_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00086">ErrorCodes.h:86</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">ripple::rpcNOT_SYNCED</a></div><div class="ttdeci">@ rpcNOT_SYNCED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00067">ErrorCodes.h:67</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#l00145">json_value.h:145</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5">ripple::rpcEXPIRED_VALIDATOR_LIST</a></div><div class="ttdeci">@ rpcEXPIRED_VALIDATOR_LIST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00137">ErrorCodes.h:137</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a70a773ee3a341f5704835d3276b814a0"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a70a773ee3a341f5704835d3276b814a0">ripple::rpcSENDMAX_MALFORMED</a></div><div class="ttdeci">@ rpcSENDMAX_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00119">ErrorCodes.h:119</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a905f6376e2efa99d9a5b52b0b107c0e7"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">ripple::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#l00173">ErrorCodes.h:173</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a905f6376e2efa99d9a5b52b0b107c0e7"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">ripple::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#l00175">ErrorCodes.h:175</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a5b391b66e90a1cb080cf29d83141853d"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a5b391b66e90a1cb080cf29d83141853d">ripple::rpcBAD_KEY_TYPE</a></div><div class="ttdeci">@ rpcBAD_KEY_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00133">ErrorCodes.h:133</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user