1
0
Fork 0
arangodb/Doxygen/doc/ArangoErrors.html

147 lines
18 KiB
HTML

<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
<!-- Generated by Doxygen 1.7.5.1 -->
</div>
<div class="header">
<div class="headertitle">
<h1>Error codes and meanings </h1> </div>
</div>
<div class="contents">
<div class="textblock"><p>The following errors might be raised when running ArangoDB:</p>
<ul>
<li>0: <code>no error</code> No error has occurred.</li>
<li>1: <code>failed</code> Will be raised when a general error occurred.</li>
<li>2: <code>system error</code> Will be raised when operating system error occurred.</li>
<li>3: <code>out of memory</code> Will be raised when there is a memory shortage.</li>
<li>4: <code>internal error</code> Will be raised when an internal error occurred.</li>
<li>5: <code>illegal number</code> Will be raised when an illegal representation of a number was given.</li>
<li>6: <code>numeric overflow</code> Will be raised when a numeric overflow occurred.</li>
<li>7: <code>illegal option</code> Will be raised when an unknown option was supplied by the user.</li>
<li>8: <code>dead process identifier</code> Will be raised when a PID without a living process was found.</li>
<li>9: <code>not implemented</code> Will be raised when hitting an unimplemented feature.</li>
<li>10: <code>bad parameter</code> Will be raised when the parameter does not fulfill the requirements.</li>
<li>11: <code>forbidden</code> Will be raised when you are missing permission for the operation.</li>
<li>12: <code>out of memory in mmap</code> Will be raised when there is a memory shortage.</li>
<li>13: <code>csv is corrupt</code> Will be raised when encountering a corrupt csv line.</li>
<li>400: <code>bad parameter</code> Will be raised when the HTTP request does not fulfill the requirements.</li>
<li>403: <code>forbidden</code> Will be raised when the operation is forbidden.</li>
<li>404: <code>not found</code> Will be raised when an URI is unknown.</li>
<li>405: <code>method not supported</code> Will be raised when an unsupported HTTP method is used for an operation.</li>
<li>500: <code>internal server error</code> Will be raised when an internal server is encountered.</li>
<li>600: <code>invalid JSON object</code> Will be raised when a string representation of a JSON object is corrupt.</li>
<li>601: <code>superfluous URL suffices</code> Will be raised when the URL contains superfluous suffices.</li>
<li>1000: <code>illegal state</code> Internal error that will be raised when the datafile is not in the required state.</li>
<li>1001: <code>illegal shaper</code> Internal error that will be raised when the shaper encountered a porblem.</li>
<li>1002: <code>datafile sealed</code> Internal error that will be raised when trying to write to a datafile.</li>
<li>1003: <code>unknown type</code> Internal error that will be raised when an unknown collection type is encountered.</li>
<li>1004: <code>ready only</code> Internal error that will be raised when trying to write to a read-only datafile or collection.</li>
<li>1005: <code>duplicate identifier</code> Internal error that will be raised when a identifier duplicate is detected.</li>
<li>1006: <code>datafile unreadable</code> Internal error that will be raised when the datafile is unreadable.</li>
<li>1100: <code>corrupted datafile</code> Will be raised when a corruption is detected in a datafile.</li>
<li>1101: <code>illegal parameter file</code> Will be raised if a parameter file is corrupted.</li>
<li>1102: <code>corrupted collection</code> Will be raised when a collection contains one or more corrupted datafiles.</li>
<li>1103: <code>mmap failed</code> Will be raised when the system call mmap failed.</li>
<li>1104: <code>filesystem full</code> Will be raised when the filesystem is full.</li>
<li>1105: <code>no journal</code> Will be raised when a journal cannot be created.</li>
<li>1106: <code>cannot create/rename datafile because it already exists</code> Will be raised when the datafile cannot be created or renamed because a file of the same name already exists.</li>
<li>1107: <code>database is locked</code> Will be raised when the database is locked by a different process.</li>
<li>1108: <code>cannot create/rename collection because directory already exists</code> Will be raised when the collection cannot be created because a directory of the same name already exists.</li>
<li>1200: <code>conflict</code> Will be raised when updating or deleting a document and a conflict has been detected.</li>
<li>1201: <code>wrong path for database</code> Will be raised when a non-existing directory was specified as path for the database.</li>
<li>1202: <code>document not found</code> Will be raised when a document with a given identifier or handle is unknown.</li>
<li>1203: <code>collection not found</code> Will be raised when a collection with a given identifier or name is unknown.</li>
<li>1204: <code>parameter 'collection' not found</code> Will be raised when the collection parameter is missing.</li>
<li>1205: <code>illegal document handle</code> Will be raised when a document handle is corrupt.</li>
<li>1206: <code>maixaml size of journal too small</code> Will be raised when the maximal size of the journal is too small.</li>
<li>1207: <code>duplicate name</code> Will be raised when a name duplicate is detected.</li>
<li>1208: <code>illegal name</code> Will be raised when an illegal name is detected.</li>
<li>1209: <code>no suitable index known</code> Will be raised when no suitable index for the query is known.</li>
<li>1210: <code>unique constraint violated</code> Will be raised when there is a unique constraint violation.</li>
<li>1211: <code>geo index violated</code> Will be raised when a illegale coordinate is used.</li>
<li>1212: <code>index not found</code> Will be raised when an index with a given identifier is unknown.</li>
<li>1213: <code>cross collection request not allowed</code> Will be raised when a cross-collection is requested.</li>
<li>1214: <code>illegal index handle</code> Will be raised when a index handle is corrupt.</li>
<li>1215: <code>cap constraint already defined</code> Will be raised when a cap constraint was already defined.</li>
<li>1216: <code>document too large</code> Will be raised when the document cannot fit into any datafile because of it is too large.</li>
<li>1217: <code>collection must be unloaded</code> Will be raised when a collection should be unloaded, but has a different status.</li>
<li>1218: <code>collection type invalid</code> Will be raised when an invalid collection type is used in a request.</li>
<li>1300: <code>datafile full</code> Will be raised when the datafile reaches its limit.</li>
<li>1500: <code>query killed</code> Will be raised when a running query is killed by an explicit admin command.</li>
<li>1501: <code>%s</code> Will be raised when query is parsed and is found to be syntactially invalid.</li>
<li>1502: <code>query is empty</code> Will be raised when an empty query is specified.</li>
<li>1503: <code>runtime error '%s'</code> Will be raised when a runtime error is caused by the query.</li>
<li>1504: <code>number out of range</code> Will be raised when a number is outside the expected range.</li>
<li>1510: <code>variable name '%s' has an invalid format</code> Will be raised when an invalid variable name is used.</li>
<li>1511: <code>variable '%s' is assigned multiple times</code> Will be raised when a variable gets re-assigned in a query.</li>
<li>1512: <code>unknown variable '%s'</code> Will be raised when an unknown variable is used or the variable is undefined the context it is used.</li>
<li>1520: <code>unable to open collection '%s'</code> Will be raised when one of the collections referenced in the query was not found.</li>
<li>1521: <code>unable to read-lock collection %s</code> Will be raised when a read lock on the collection cannot be acquired.</li>
<li>1522: <code>too many collections</code> Will be raised when the number of collections in a query is beyond the allowed value.</li>
<li>1530: <code>document attribute '%s' is assigned multiple times</code> Will be raised when a document attribute is re-assigned.</li>
<li>1540: <code>usage of unknown function '%s'</code> Will be raised when an undefined function is called.</li>
<li>1541: <code>invalid number of arguments for function '%s'</code> Will be raised when the number of arguments used in a function call does not match the expected number of arguments for the function.</li>
<li>1542: <code>invalid argument type used in call to function '%s()'</code> Will be raised when the type of an argument used in a function call does not match the expected argument type.</li>
<li>1550: <code>invalid structure of bind parameters</code> Will be raised when the structure of bind parameters passed has an unexpected format.</li>
<li>1551: <code>no value specified for declared bind parameter '%s'</code> Will be raised when a bind parameter was declared in the query but the query is being executed with no value for that parameter.</li>
<li>1552: <code>bind parameter '%s' was not declared in the query</code> Will be raised when a value gets specified for an undeclared bind parameter.</li>
<li>1553: <code>bind parameter '%s' has an invalid value or type</code> Will be raised when a bind parameter has an invalid value or type.</li>
<li>1560: <code>invalid logical value</code> Will be raised when a non-boolean value is used in a logical operation.</li>
<li>1561: <code>invalid arithmetic value</code> Will be raised when a non-numeric value is used in an arithmetic operation.</li>
<li>1562: <code>division by zero</code> Will be raised when there is an attempt to divide by zero.</li>
<li>1563: <code>list expected</code> Will be raised when a non-list operand is used for an operation that expects a list argument operand.</li>
<li>1569: <code>FAIL(%s) called</code> Will be raised when the function FAIL() is called from inside a query.</li>
<li>1570: <code>no suitable geo index found for geo restriction on '%s'</code> Will be raised when a geo restriction was specified but no suitable geo index is found to resolve it.</li>
<li>1600: <code>cursor not found</code> Will be raised when a cursor is requested via its id but a cursor with that id cannot be found.</li>
<li>1700: <code>expecting &lt;prefix&gt;/user/&lt;username&gt;</code> TODO</li>
<li>1701: <code>cannot create user</code> TODO</li>
<li>1702: <code>role not found</code> TODO</li>
<li>1703: <code>no permission to create user with that role</code> TODO</li>
<li>1704: <code>user not found</code> TODO</li>
<li>1705: <code>cannot manage password for user</code> TODO</li>
<li>1706: <code>expecting POST &lt;prefix&gt;/session</code> TODO</li>
<li>1707: <code>expecting GET &lt;prefix&gt;/session/&lt;sid&gt;</code> TODO</li>
<li>1708: <code>expecting PUT &lt;prefix&gt;/session/&lt;sid&gt;/&lt;method&gt;</code> TODO</li>
<li>1709: <code>expecting DELETE &lt;prefix&gt;/session/&lt;sid&gt;</code> TODO</li>
<li>1710: <code>unknown session</code> TODO</li>
<li>1711: <code>session has not bound to user</code> TODO</li>
<li>1712: <code>cannot login with session</code> TODO</li>
<li>1713: <code>expecting GET &lt;prefix&gt;/users</code> TODO</li>
<li>1714: <code>expecting /directory/sessionvoc/&lt;token&gt;</code> TODO</li>
<li>1715: <code>directory server is not configured</code> TODO</li>
<li>1800: <code>invalid key declaration</code> Will be raised when an invalid key specification is passed to the server</li>
<li>1801: <code>key already exists</code> Will be raised when a key is to be created that already exists</li>
<li>1802: <code>key not found</code> Will be raised when the specified key is not found</li>
<li>1803: <code>key is not unique</code> Will be raised when the specified key is not unique</li>
<li>1804: <code>key value not changed</code> Will be raised when updating the value for a key does not work</li>
<li>1805: <code>key value not removed</code> Will be raised when deleting a key/value pair does not work</li>
<li>1806: <code>missing value</code> Will be raised when the value is missing</li>
<li>1901: <code>invalid graph</code> Will be raised when an invalid name is passed to the server</li>
<li>1902: <code>could not create graph</code> Will be raised when an invalid name, vertices or edges is passed to the server</li>
<li>1903: <code>invalid vertex</code> Will be raised when an invalid vertex id is passed to the server</li>
<li>1904: <code>could not create vertex</code> Will be raised when the vertex could not be created</li>
<li>1905: <code>could not change vertex</code> Will be raised when the vertex could not be changed</li>
<li>1906: <code>invalid edge</code> Will be raised when an invalid edge id is passed to the server</li>
<li>1907: <code>could not create edge</code> Will be raised when the edge could not be created</li>
<li>1908: <code>could not change edge</code> Will be raised when the edge could not be changed</li>
<li>2000: <code>unknown client error</code> This error should not happen.</li>
<li>2001: <code>could not connect to server</code> Will be raised when the client could not connect to the server.</li>
<li>2002: <code>could not write to server</code> Will be raised when the client could not write data.</li>
<li>2003: <code>could not read from server</code> Will be raised when the client could not read data.</li>
<li>3100: <code>priority queue insert failure</code> Will be raised when an attempt to insert a document into a priority queue index fails for some reason.</li>
<li>3110: <code>priority queue remove failure</code> Will be raised when an attempt to remove a document from a priority queue index fails for some reason.</li>
<li>3111: <code>priority queue remove failure - item missing in index</code> Will be raised when an attempt to remove a document from a priority queue index fails when document can not be located within the index.</li>
<li>3312: <code>(non-unique) hash index insert failure - document duplicated in index</code> Will be raised when an attempt to insert a document into a non-unique hash index fails due to the fact that document is duplicated within that index.</li>
<li>3313: <code>(non-unique) skiplist index insert failure - document duplicated in index</code> Will be raised when an attempt to insert a document into a non-unique skiplist index fails due to the fact that document is duplicated within that index.</li>
<li>3200: <code>hash index insertion warning - attribute missing in document</code> Will be raised when an attempt to insert a document into a hash index is caused by the document not having one or more attributes which are required by the hash index.</li>
<li>3202: <code>hash index update warning - attribute missing in revised document</code> Will be raised when an attempt to update a document results in the revised document not having one or more attributes which are required by the hash index.</li>
<li>3211: <code>hash index remove failure - item missing in index</code> Will be raised when an attempt to remove a document from a hash index fails when document can not be located within that index.</li>
<li>3300: <code>skiplist index insertion warning - attribute missing in document</code> Will be raised when an attempt to insert a document into a skiplist index is caused by in the document not having one or more attributes which are required by the skiplist index.</li>
<li>3302: <code>skiplist index update warning - attribute missing in revised document</code> Will be raised when an attempt to update a document results in the revised document not having one or more attributes which are required by the skiplist index.</li>
<li>3311: <code>skiplist index remove failure - item missing in index</code> Will be raised when an attempt to remove a document from a skiplist index fails when document can not be located within that index.</li>
<li>3400: <code>bitarray index insertion warning - attribute missing in document</code> Will be raised when an attempt to insert a document into a bitarray index is caused by in the document not having one or more attributes which are required by the bitarray index.</li>
<li>3402: <code>bitarray index update warning - attribute missing in revised document</code> Will be raised when an attempt to update a document results in the revised document not having one or more attributes which are required by the bitarray index.</li>
<li>3411: <code>bitarray index remove failure - item missing in index</code> Will be raised when an attempt to remove a document from a bitarray index fails when document can not be located within that index.</li>
<li>3413: <code>bitarray index insert failure - document attribute value unsupported in index</code> Will be raised when an attempt to insert a document into a bitarray index fails due to the fact that one or more values for an index attribute is not supported within that index. </li>
</ul>
</div></div>
</div></body></html>