Errors
Stable string codes returned as err from any client method. Compare against the global Errors table:
if err == Errors.WORLD_FULL then
...
end
| Constant | Meaning |
|---|---|
Errors.ALREADY_CONNECTED | Bot session already live somewhere |
Errors.NOT_CONNECTED | Never reached MenuReady |
Errors.NOT_IN_WORLD | Action requires being in a world |
Errors.WORLD_FULL | Target world's player cap is hit |
Errors.INVALID_WORLD | Bad world name (regex / length) |
Errors.WORLD_NOT_FOUND | Server says world doesn't exist |
Errors.BANNED | Account banned |
Errors.TIMEOUT | Step took longer than its budget |
Errors.DISCONNECTED | Session dropped mid-action |
Errors.AUTH_FAILED | PlayFab / SocialFirst rejected creds |
Errors.TUTORIAL_BUSY | Tutorial automation is running |
Errors.CANCELLED | Script called clearPath / aborted |
Errors.OTHER | Catch-all (server returned an unrecognized code) |