SDK Reason Codes: Difference between revisions
Jump to navigation
Jump to search
Created page. |
Add missing reason codes |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
</tr> | </tr> | ||
<tr> | |||
<td id="VP_RC_NOT_INITIALIZED">VP_RC_NOT_INITIALIZED</td> | |||
<td id="NO_2">2</td> | |||
<td><p>''Not initialized'' | |||
:The SDK hasn't been initialized (try calling [[vp_init]]) | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_ALREADY_INITIALIZED">VP_RC_ALREADY_INITIALIZED</td> | |||
<td id="NO_3">3</td> | |||
<td><p>''Already initialized'' | |||
:The SDK has already been initialized (by calling [[vp_init]]) | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_STRING_TOO_LONG">VP_RC_STRING_TOO_LONG</td> | |||
<td id="NO_4">4</td> | |||
<td><p>''String too long''</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_INVALID_LOGIN">VP_RC_INVALID_LOGIN</td> | |||
<td id="NO_5">5</td> | |||
<td><p>''Invalid login'' | |||
:Could not login due to invalid user or incorrect password. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_WORLD_NOT_FOUND">VP_RC_WORLD_NOT_FOUND</td> | |||
<td id="NO_6">6</td> | |||
<td><p>''World not found'' | |||
:There is no world running with a matching name. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_WORLD_LOGIN_ERROR">VP_RC_WORLD_LOGIN_ERROR</td> | |||
<td id="NO_7">7</td> | |||
<td><p>''World login error'' | |||
:Couldn't login to the world (usually the world server is mapped to a different address.) | |||
:Banned (not yet implemented) | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NOT_IN_WORLD">VP_RC_NOT_IN_WORLD</td> | |||
<td id="NO_8">8</td> | |||
<td><p>''Not in world'' | |||
:The SDK is not initialized into a world. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_CONNECTION_ERROR">VP_RC_CONNECTION_ERROR</td> | |||
<td id="NO_9">9</td> | |||
<td><p>''Connection error'' | |||
:There was an error connecting to the universe/world server. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NO_INSTANCE">VP_RC_NO_INSTANCE</td> | |||
<td id="NO_10">10</td> | |||
<td><p>''No instance''</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NOT_IMPLEMENTED">VP_RC_NOT_IMPLEMENTED</td> | |||
<td id="NO_11">11</td> | |||
<td><p>''Not implemented''</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NO_SUCH_ATTRIBUTE">VP_RC_NO_SUCH_ATTRIBUTE</td> | |||
<td id="NO_12">12</td> | |||
<td><p>''No such attribute'' | |||
:There is no attribute matching that name. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NOT_ALLOWED">VP_RC_NOT_ALLOWED</td> | |||
<td id="NO_13">13</td> | |||
<td><p>''Not allowed''</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_DATABASE_ERROR">VP_RC_DATABASE_ERROR</td> | |||
<td id="NO_14">14</td> | |||
<td><p>''Database error''</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_NO_SUCH_USER">VP_RC_NO_SUCH_USER</td> | |||
<td id="NO_15">15</td> | |||
<td><p>''No such user'' | |||
:The user you are looking for does not exist. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_TIMEOUT</td> | |||
<td id="NO_16">16</td> | |||
<td><p>''Timeout'' | |||
:The action timed out. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_NOT_IN_UNIVERSE</td> | |||
<td id="NO_17">17</td> | |||
<td><p>''Not in universe'' | |||
:There is no connection to the universe server. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_INVALID_ARGUMENTS</td> | |||
<td id="NO_18">18</td> | |||
<td><p>''Invalid arguments'' | |||
:A function was given invalid arguments. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_OBJECT_NOT_FOUND</td> | |||
<td id="NO_19">19</td> | |||
<td><p>''Object not found'' | |||
:The specified object was not found. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_UNKNOWN_ERROR</td> | |||
<td id="NO_20">20</td> | |||
<td><p>''Unknown error'' | |||
:The server returned an unknown error code. | |||
</p></td> | |||
</tr> | |||
<tr> | |||
<td id="VP_RC_TIMEOUT">VP_RC_RECURSIVE_WAIT</td> | |||
<td id="NO_21">21</td> | |||
<td><p>''Recursive wait'' | |||
:[[Vp_wait]] was called recursively, for example by calling it inside an event or callback handler. | |||
</p></td> | |||
</tr> | |||
</table> | </table> | ||
[[Category: SDK]] |
Latest revision as of 15:15, 17 March 2015
Reason code | Value | Description |
---|---|---|
VP_RC_SUCCESS | 0 | Success
|
VP_RC_VERSION_MISMATCH | 1 | Version mismatch
|
VP_RC_NOT_INITIALIZED | 2 | Not initialized
|
VP_RC_ALREADY_INITIALIZED | 3 | Already initialized
|
VP_RC_STRING_TOO_LONG | 4 | String too long |
VP_RC_INVALID_LOGIN | 5 | Invalid login
|
VP_RC_WORLD_NOT_FOUND | 6 | World not found
|
VP_RC_WORLD_LOGIN_ERROR | 7 | World login error
|
VP_RC_NOT_IN_WORLD | 8 | Not in world
|
VP_RC_CONNECTION_ERROR | 9 | Connection error
|
VP_RC_NO_INSTANCE | 10 | No instance |
VP_RC_NOT_IMPLEMENTED | 11 | Not implemented |
VP_RC_NO_SUCH_ATTRIBUTE | 12 | No such attribute
|
VP_RC_NOT_ALLOWED | 13 | Not allowed |
VP_RC_DATABASE_ERROR | 14 | Database error |
VP_RC_NO_SUCH_USER | 15 | No such user
|
VP_RC_TIMEOUT | 16 | Timeout
|
VP_RC_NOT_IN_UNIVERSE | 17 | Not in universe
|
VP_RC_INVALID_ARGUMENTS | 18 | Invalid arguments
|
VP_RC_OBJECT_NOT_FOUND | 19 | Object not found
|
VP_RC_UNKNOWN_ERROR | 20 | Unknown error
|
VP_RC_RECURSIVE_WAIT | 21 | Recursive wait
|