forked from I2P_Developers/i2p.www
Added error codes of the I2PControl API.
This commit is contained in:
@ -138,6 +138,20 @@ Response:
|
||||
<p>* denotes an optional value.</p>
|
||||
<p>** denotes a possibly occuring return value</p>
|
||||
|
||||
<h3>Error codes</h3>
|
||||
<ul>Standard JSON-RPC2 error codes.
|
||||
<li>-32700 – JSON parse error.</li>
|
||||
<li>-32600 – Invalid request.</li>
|
||||
<li>-32601 – Method not found.</li>
|
||||
<li>-32603 – Internal error.</li>
|
||||
</ul>
|
||||
<ul>I2PControl specific error codes.
|
||||
<li>-32001 – Invalid password provided.</li>
|
||||
<li>-32002 – No authentication token presented.</li>
|
||||
<li>-32003 – Authentication token doesn't exist.</li>
|
||||
<li>-32004 – The provided authentication token was expired and will be removed.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user