mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 03:55:53 +00:00
deploy: dcc4581220
This commit is contained in:
@@ -229,223 +229,226 @@ $(function() {
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="comment">// deposit_authorized + credentials</span></div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a81c43f54c2aae9c4e2263be5412a9e7e"> 152</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a81c43f54c2aae9c4e2263be5412a9e7e">rpcBAD_CREDENTIALS</a> = 95,</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">rpcLAST</a> = <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a81c43f54c2aae9c4e2263be5412a9e7e">rpcBAD_CREDENTIALS</a> <span class="comment">// rpcLAST should always equal the last code.</span></div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"> 155</a></span>};</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="comment">// Simulate</span></div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a4fa92eda2a5646cf19562903188f6417"> 155</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a4fa92eda2a5646cf19562903188f6417">rpcTX_SIGNED</a> = 96,</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9"> 161</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">warning_code_i</a> {</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"> 162</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">warnRPC_UNSUPPORTED_MAJORITY</a> = 1001,</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"> 163</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">warnRPC_AMENDMENT_BLOCKED</a> = 1002,</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca"> 164</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca">warnRPC_EXPIRED_VALIDATOR_LIST</a> = 1003,</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="comment">// unused = 1004</span></div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span>};</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span><span class="comment">// VFALCO NOTE these should probably not be in the RPC namespace.</span></div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="keyword">namespace </span>RPC {</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html"> 175</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a></div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span>{</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <span class="comment">// Default ctor needed to produce an empty std::array during constexpr eval.</span></div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89"> 178</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ErrorInfo</a>()</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aa4f3cb4313d397ba327dfc49ce439cae">rpcUNKNOWN</a>)</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(<span class="stringliteral">"unknown"</span>)</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(<span class="stringliteral">"An unknown error code."</span>)</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(200)</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> {</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> }</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a"> 186</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ErrorInfo</a>(</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* message_)</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(200)</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> {</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> }</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa"> 194</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa">ErrorInfo</a>(</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* message_,</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <span class="keywordtype">int</span> http_status_)</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_)</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_)</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_)</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(http_status_)</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> {</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> }</div>
|
||||
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
|
||||
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7"> 206</a></span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76"> 207</a></span> <a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67"> 208</a></span> <a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93"> 209</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>;</div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span>};</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> </div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf"> 220</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span>{</div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> json[jss::error] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> json[jss::error_code] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> json[jss::error_message] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span>}</div>
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a073aa52d66bf3061aed8861d1db747d0"> 230</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<span class="keywordtype">int</span> code, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span>{</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a>(code), json);</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span>}</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a2b8314da490d3e5f165dcc839bd2271e"> 237</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span>{</div>
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> json[jss::error] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> json[jss::error_code] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> json[jss::error_message] = message;</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span>}</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
|
||||
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message);</div>
|
||||
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749"> 258</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_classRef" 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 id="l00259" name="l00259"></a><span class="lineno"> 259</span>{</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4">rpcINVALID_PARAMS</a>, message);</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span>}</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2"> 264</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(<a class="code hl_classRef" 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 id="l00265" name="l00265"></a><span class="lineno"> 265</span>{</div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> <span class="keywordflow">return</span> <span class="stringliteral">"Missing field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span>}</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> </div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06"> 270</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_classRef" 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 id="l00271" name="l00271"></a><span class="lineno"> 271</span>{</div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span>}</div>
|
||||
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#ae31cefa7ecb22004bf04e70cbe7c088f"> 276</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span>{</div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span>}</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> </div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636"> 282</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(<a class="code hl_classRef" 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 id="l00283" name="l00283"></a><span class="lineno"> 283</span>{</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not object."</span>;</div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span>}</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> </div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b"> 288</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_classRef" 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 id="l00289" name="l00289"></a><span class="lineno"> 289</span>{</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span>}</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> </div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5f3c2453b9b53d0ee3a761260201b972"> 294</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span>{</div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span>}</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> </div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6"> 300</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_classRef" 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 id="l00301" name="l00301"></a><span class="lineno"> 301</span>{</div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span>}</div>
|
||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> </div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a700c1619a25a23c416caeb3c54fe3c29"> 306</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span>{</div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span>}</div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f"> 312</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_classRef" 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 id="l00313" name="l00313"></a><span class="lineno"> 313</span>{</div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span>}</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> </div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af10bc439258bba422e8f6f1860c89192"> 318</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span>{</div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span>}</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> </div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968"> 324</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_classRef" 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 id="l00325" name="l00325"></a><span class="lineno"> 325</span>{</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</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 id="l00327" name="l00327"></a><span class="lineno"> 327</span>}</div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> </div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af31a2771190b89eb9b9c04e4038b9cac"> 330</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="code hl_classRef" 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 id="l00331" name="l00331"></a><span class="lineno"> 331</span>{</div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span>}</div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325"> 336</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_classRef" 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 id="l00337" name="l00337"></a><span class="lineno"> 337</span>{</div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(name, type));</div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span>}</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a0c4faf6372ccec80555e46ecdda67b20"> 342</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="code hl_classRef" 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 id="l00343" name="l00343"></a><span class="lineno"> 343</span>{</div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span>}</div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> </div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f"> 348</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">not_validator_error</a>()</div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span>{</div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<span class="stringliteral">"not a validator"</span>);</div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span>}</div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> </div>
|
||||
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">contains_error</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span><span class="keywordtype">int</span></div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a73e0accbac78ba2dda7a2ba0f3889800">error_code_http_status</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> </div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span>} <span class="comment">// namespace RPC</span></div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span><a class="code hl_function" href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">rpcErrorString</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& jv);</div>
|
||||
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> </div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d">rpcLAST</a> = <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a4fa92eda2a5646cf19562903188f6417">rpcTX_SIGNED</a> <span class="comment">// rpcLAST should always equal the last code.</span></div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a12405c5cf850257ddac293134371f64d"> 158</a></span>};</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9"> 164</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9">warning_code_i</a> {</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b"> 165</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a79a88f958ac2f8dad164010cf329c33b">warnRPC_UNSUPPORTED_MAJORITY</a> = 1001,</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4"> 166</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9aacc48aeea6bf2e5a6050dc741d1e37b4">warnRPC_AMENDMENT_BLOCKED</a> = 1002,</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca"> 167</a></span> <a class="code hl_enumvalue" href="namespaceripple.html#a53248e40c0a268c7c59fbe4a6e1179d9a2efcf8a6d04e135dcf594a1d47a930ca">warnRPC_EXPIRED_VALIDATOR_LIST</a> = 1003,</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="comment">// unused = 1004</span></div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span>};</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="comment">// VFALCO NOTE these should probably not be in the RPC namespace.</span></div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="keyword">namespace </span>RPC {</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html"> 178</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a></div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span>{</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="comment">// Default ctor needed to produce an empty std::array during constexpr eval.</span></div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89"> 181</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#a47cdbe8044639c7f7caf595c32332d89">ErrorInfo</a>()</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932aa4f3cb4313d397ba327dfc49ce439cae">rpcUNKNOWN</a>)</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(<span class="stringliteral">"unknown"</span>)</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(<span class="stringliteral">"An unknown error code."</span>)</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(200)</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> {</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> }</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a"> 189</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#a51d565c582c370606a801cca4f51812a">ErrorInfo</a>(</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* message_)</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_), <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(200)</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> {</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> }</div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa"> 197</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa">ErrorInfo</a>(</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code_,</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* token_,</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* message_,</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordtype">int</span> http_status_)</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> : <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>(code_)</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>(token_)</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>(message_)</div>
|
||||
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> , <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>(http_status_)</div>
|
||||
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> {</div>
|
||||
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> }</div>
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> </div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7"> 209</a></span> <a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76"> 210</a></span> <a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67"> 211</a></span> <a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93"> 212</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">http_status</a>;</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span>};</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span><a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf"> 223</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span>{</div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> json[jss::error] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> json[jss::error_code] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> json[jss::error_message] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a7da2ca0fedad1eb20f8a492eebc55d67">message</a>;</div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span>}</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a073aa52d66bf3061aed8861d1db747d0"> 233</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<span class="keywordtype">int</span> code, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span>{</div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a>(code), json);</div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span>}</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span><span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a2b8314da490d3e5f165dcc839bd2271e"> 240</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a577bde9602a28f59e445c496f92a1ccf">inject_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message, JsonValue& json)</div>
|
||||
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span>{</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1ErrorInfo.html">ErrorInfo</a> <span class="keyword">const</span>& info(<a class="code hl_function" href="namespaceripple_1_1RPC.html#aa01c09044342d3707e231b3ede5086f0">get_error_info</a>(code));</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> json[jss::error] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a8e9f8835d2e92985ab09e927ef569c76">token</a>;</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> json[jss::error_code] = info.<a class="code hl_variable" href="structripple_1_1RPC_1_1ErrorInfo.html#a905f6376e2efa99d9a5b52b0b107c0e7">code</a>;</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> json[jss::error_message] = message;</div>
|
||||
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span>}</div>
|
||||
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message);</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749"> 261</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_classRef" 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 id="l00262" name="l00262"></a><span class="lineno"> 262</span>{</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a2cd6200f6709780fcf1dd26ec9cd2866">make_error</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a82ddebc5ec7a37ff38892487277bf9c4">rpcINVALID_PARAMS</a>, message);</div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span>}</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> </div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2"> 267</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(<a class="code hl_classRef" 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 id="l00268" name="l00268"></a><span class="lineno"> 268</span>{</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">return</span> <span class="stringliteral">"Missing field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span>}</div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06"> 273</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_classRef" 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 id="l00274" name="l00274"></a><span class="lineno"> 274</span>{</div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a5d5937b3d78d931333b1c278e13e23b2">missing_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span>}</div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> </div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#ae31cefa7ecb22004bf04e70cbe7c088f"> 279</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span>{</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">missing_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span>}</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> </div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636"> 285</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(<a class="code hl_classRef" 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 id="l00286" name="l00286"></a><span class="lineno"> 286</span>{</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"', not object."</span>;</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span>}</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> </div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b"> 291</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_classRef" 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 id="l00292" name="l00292"></a><span class="lineno"> 292</span>{</div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a9f5e626e438381329d8b9ef18fe26636">object_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span>}</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a5f3c2453b9b53d0ee3a761260201b972"> 297</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span>{</div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a97b09da785b1944b7b1964eeff97a43b">object_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span>}</div>
|
||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> </div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6"> 303</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_classRef" 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 id="l00304" name="l00304"></a><span class="lineno"> 304</span>{</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordflow">return</span> <span class="stringliteral">"Invalid field '"</span> + name + <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span>}</div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> </div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a700c1619a25a23c416caeb3c54fe3c29"> 309</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span>{</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span>}</div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> </div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f"> 315</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_classRef" 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 id="l00316" name="l00316"></a><span class="lineno"> 316</span>{</div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a786aa1fb7be9a79763f72a11aa8224b6">invalid_field_message</a>(name));</div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span>}</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af10bc439258bba422e8f6f1860c89192"> 321</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name)</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span>{</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a3f2a31e585bbecb3af3740d34d7df15f">invalid_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name));</div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span>}</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> </div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968"> 327</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_classRef" 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 id="l00328" name="l00328"></a><span class="lineno"> 328</span>{</div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</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 id="l00330" name="l00330"></a><span class="lineno"> 330</span>}</div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> </div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af31a2771190b89eb9b9c04e4038b9cac"> 333</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="code hl_classRef" 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 id="l00334" name="l00334"></a><span class="lineno"> 334</span>{</div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span>}</div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> </div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325"> 339</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_classRef" 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 id="l00340" name="l00340"></a><span class="lineno"> 340</span>{</div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<a class="code hl_function" href="namespaceripple_1_1RPC.html#a7bad76b302b3dcc91dd60c10830d0968">expected_field_message</a>(name, type));</div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span>}</div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> </div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a0c4faf6372ccec80555e46ecdda67b20"> 345</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> name, <a class="code hl_classRef" 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 id="l00346" name="l00346"></a><span class="lineno"> 346</span>{</div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#aa63398ec847d01de9d9af3598e3e2325">expected_field_error</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>(name), type);</div>
|
||||
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span>}</div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> </div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span><span class="keyword">inline</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f"> 351</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a711d9d7325b0ccd758453fcbea4c524f">not_validator_error</a>()</div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span>{</div>
|
||||
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple_1_1RPC.html#a5b6ce0616f6995340f4dd846660c3749">make_param_error</a>(<span class="stringliteral">"not a validator"</span>);</div>
|
||||
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span>}</div>
|
||||
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> </div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a1a79f0c33d1405fe85c40d63a49658bd">contains_error</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> </div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span><span class="keywordtype">int</span></div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a73e0accbac78ba2dda7a2ba0f3889800">error_code_http_status</a>(<a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> code);</div>
|
||||
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> </div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span>} <span class="comment">// namespace RPC</span></div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> </div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span><a class="code hl_function" href="namespaceripple.html#a23f02900cac703bddf91fff471cb9d65">rpcErrorString</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& jv);</div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> </div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> </div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1StaticString_html"><div class="ttname"><a href="classJson_1_1StaticString.html">Json::StaticString</a></div><div class="ttdoc">Lightweight wrapper to tag static string.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00060">json_value.h:61</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#l00146">json_value.h:147</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#l00196">ErrorCodes.cpp:196</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#l00180">ErrorCodes.cpp:180</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#l00312">ErrorCodes.h:312</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#l00220">ErrorCodes.h:220</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#l00258">ErrorCodes.h:258</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#l00264">ErrorCodes.h:264</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#l00348">ErrorCodes.h:348</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a73e0accbac78ba2dda7a2ba0f3889800"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a73e0accbac78ba2dda7a2ba0f3889800">ripple::RPC::error_code_http_status</a></div><div class="ttdeci">int error_code_http_status(error_code_i code)</div><div class="ttdoc">Returns http status that corresponds to the error code.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8cpp_source.html#l00204">ErrorCodes.cpp:204</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#l00300">ErrorCodes.h:300</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#l00324">ErrorCodes.h:324</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#l00288">ErrorCodes.h:288</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#l00282">ErrorCodes.h:282</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#l00172">ErrorCodes.cpp:172</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#l00336">ErrorCodes.h:336</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#l00270">ErrorCodes.h:270</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#l00197">ErrorCodes.cpp:197</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#l00181">ErrorCodes.cpp:181</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#l00315">ErrorCodes.h:315</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#l00223">ErrorCodes.h:223</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#l00261">ErrorCodes.h:261</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#l00267">ErrorCodes.h:267</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#l00351">ErrorCodes.h:351</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a73e0accbac78ba2dda7a2ba0f3889800"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a73e0accbac78ba2dda7a2ba0f3889800">ripple::RPC::error_code_http_status</a></div><div class="ttdeci">int error_code_http_status(error_code_i code)</div><div class="ttdoc">Returns http status that corresponds to the error code.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8cpp_source.html#l00205">ErrorCodes.cpp:205</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#l00303">ErrorCodes.h:303</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#l00327">ErrorCodes.h:327</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#l00291">ErrorCodes.h:291</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#l00285">ErrorCodes.h:285</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#l00173">ErrorCodes.cpp:173</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#l00339">ErrorCodes.h:339</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#l00273">ErrorCodes.h:273</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="algorithm_8h_source.html#l00026">algorithm.h:26</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#l00212">ErrorCodes.cpp:212</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#l00213">ErrorCodes.cpp:213</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_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_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>
|
||||
@@ -453,7 +456,7 @@ $(function() {
|
||||
<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_html_a32d6d3ce1a48272b677d2c88b1d30932a0d6de5ceef1ebe6f65e14a7561563550"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a0d6de5ceef1ebe6f65e14a7561563550">ripple::rpcNOT_SUPPORTED</a></div><div class="ttdeci">@ rpcNOT_SUPPORTED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00132">ErrorCodes.h:132</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_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#l00155">ErrorCodes.h:154</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#l00158">ErrorCodes.h:157</a></div></div>
|
||||
<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_a32d6d3ce1a48272b677d2c88b1d30932a13cb05bfc011d1eec5fa52b5a3417043"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a13cb05bfc011d1eec5fa52b5a3417043">ripple::rpcISSUE_MALFORMED</a></div><div class="ttdeci">@ rpcISSUE_MALFORMED</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_a32d6d3ce1a48272b677d2c88b1d30932a17eb7d1bbf2edda8e901174203e1e824"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a17eb7d1bbf2edda8e901174203e1e824">ripple::rpcEXCESSIVE_LGR_RANGE</a></div><div class="ttdeci">@ rpcEXCESSIVE_LGR_RANGE</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00135">ErrorCodes.h:135</a></div></div>
|
||||
@@ -466,6 +469,7 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a3df7a80b8a138b99a8e0723d2364d798"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a3df7a80b8a138b99a8e0723d2364d798">ripple::rpcLGR_NOT_VALIDATED</a></div><div class="ttdeci">@ rpcLGR_NOT_VALIDATED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00073">ErrorCodes.h:73</a></div></div>
|
||||
<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_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_a32d6d3ce1a48272b677d2c88b1d30932a4fa92eda2a5646cf19562903188f6417"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a4fa92eda2a5646cf19562903188f6417">ripple::rpcTX_SIGNED</a></div><div class="ttdeci">@ rpcTX_SIGNED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00155">ErrorCodes.h:155</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a4fba57dbbed9bfaa196e1a0e0915dc8a"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a4fba57dbbed9bfaa196e1a0e0915dc8a">ripple::rpcACT_MALFORMED</a></div><div class="ttdeci">@ rpcACT_MALFORMED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00090">ErrorCodes.h:90</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_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>
|
||||
@@ -517,18 +521,18 @@ $(function() {
|
||||
<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="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932af84f0f070938fb2e6bfc21dd28e98c5c"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af84f0f070938fb2e6bfc21dd28e98c5c">ripple::rpcNO_PERMISSION</a></div><div class="ttdeci">@ rpcNO_PERMISSION</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00053">ErrorCodes.h:53</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#l00161">ErrorCodes.h:161</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#l00164">ErrorCodes.h:164</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#l00162">ErrorCodes.h:162</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#l00163">ErrorCodes.h:163</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, default message, and HTTP status.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00175">ErrorCodes.h:176</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a08285f5655ec9e56b914d8d699820a93"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">ripple::RPC::ErrorInfo::http_status</a></div><div class="ttdeci">int http_status</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00209">ErrorCodes.h:209</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#l00178">ErrorCodes.h:178</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#l00186">ErrorCodes.h:186</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#l00208">ErrorCodes.h:208</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#l00207">ErrorCodes.h:207</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#l00206">ErrorCodes.h:206</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_adcd795113e89e9228b6904742515a9fa"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo(error_code_i code_, char const *token_, char const *message_, int http_status_)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00194">ErrorCodes.h:194</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#l00164">ErrorCodes.h:164</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#l00167">ErrorCodes.h:167</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#l00165">ErrorCodes.h:165</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#l00166">ErrorCodes.h:166</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, default message, and HTTP status.</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00178">ErrorCodes.h:179</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_a08285f5655ec9e56b914d8d699820a93"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#a08285f5655ec9e56b914d8d699820a93">ripple::RPC::ErrorInfo::http_status</a></div><div class="ttdeci">int http_status</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00212">ErrorCodes.h:212</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#l00181">ErrorCodes.h:181</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#l00189">ErrorCodes.h:189</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#l00211">ErrorCodes.h:211</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#l00210">ErrorCodes.h:210</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#l00209">ErrorCodes.h:209</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1ErrorInfo_html_adcd795113e89e9228b6904742515a9fa"><div class="ttname"><a href="structripple_1_1RPC_1_1ErrorInfo.html#adcd795113e89e9228b6904742515a9fa">ripple::RPC::ErrorInfo::ErrorInfo</a></div><div class="ttdeci">constexpr ErrorInfo(error_code_i code_, char const *token_, char const *message_, int http_status_)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00197">ErrorCodes.h:197</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user