ExperienceError
Constants in the ExperienceError enum.
// Otherinteger XP_ERROR_EXPERIENCES_DISABLED = 2; // Region currently has experiences disabled.integer XP_ERROR_KEY_NOT_FOUND = 14; // Requested key does not exist.integer XP_ERROR_MATURITY_EXCEEDED = 16; // Content rating of the experience exceeds that of the region.integer XP_ERROR_NO_EXPERIENCE = 5; // This script is not associated with an experience.integer XP_ERROR_NONE = 0; // No error was detected.integer XP_ERROR_QUOTA_EXCEEDED = 11; // An attempt to write data to the key-value store failed due to the data quota being met.integer XP_ERROR_REQUEST_PERM_TIMEOUT = 18; // Request for experience permissions was ignored and the request timed out without modification.integer XP_ERROR_RETRY_UPDATE = 15; // A checked update failed due to an out of date request.integer XP_ERROR_STORAGE_EXCEPTION = 13; // Unable to communicate with the key-value store, or attempted to create a key that already exists.integer XP_ERROR_STORE_DISABLED = 12; // Key-value store is currently disabled on this region.integer XP_ERROR_THROTTLED = 1; // Call failed due to too many recent calls.integer XP_ERROR_UNKNOWN_ERROR = 10; // An unknown error occurred that is not covered by any of the other predetermined error states.// XP_ERROR_EXPERIENCE_*integer XP_ERROR_EXPERIENCE_DISABLED = 8; // Experience owner has temporarily disabled the experience.integer XP_ERROR_EXPERIENCE_SUSPENDED = 9; // Experience has been suspended by Linden Lab customer support.// XP_ERROR_INVALID_*integer XP_ERROR_INVALID_EXPERIENCE = 7; // Script is associated with an experience that no longer exists.integer XP_ERROR_INVALID_PARAMETERS = 3; // One of the string arguments was too big to fit in the key-value store.// XP_ERROR_NOT_*integer XP_ERROR_NOT_FOUND = 6; // Sim was unable to verify the validity of the experience.integer XP_ERROR_NOT_PERMITTED = 4; // This experience is not allowed to run by the requested agent, or experience permissions were denied by the user.integer XP_ERROR_NOT_PERMITTED_LAND = 17; // Experience is blocked or not enabled for this land, or is not allowed to run in the current region.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
XP_ERROR_EXPERIENCE_DISABLED | integer | 8 | Experience owner has temporarily disabled the experience. |
XP_ERROR_EXPERIENCE_SUSPENDED | integer | 9 | Experience has been suspended by Linden Lab customer support. |
XP_ERROR_EXPERIENCES_DISABLED | integer | 2 | Region currently has experiences disabled. |
XP_ERROR_INVALID_EXPERIENCE | integer | 7 | Script is associated with an experience that no longer exists. |
XP_ERROR_INVALID_PARAMETERS | integer | 3 | One of the string arguments was too big to fit in the key-value store. |
XP_ERROR_KEY_NOT_FOUND | integer | 14 | Requested key does not exist. |
XP_ERROR_MATURITY_EXCEEDED | integer | 16 | Content rating of the experience exceeds that of the region. |
XP_ERROR_NO_EXPERIENCE | integer | 5 | This script is not associated with an experience. |
XP_ERROR_NONE | integer | 0 | No error was detected. |
XP_ERROR_NOT_FOUND | integer | 6 | Sim was unable to verify the validity of the experience. Retrying after a short wait is advised. |
XP_ERROR_NOT_PERMITTED | integer | 4 | This experience is not allowed to run by the requested agent, or experience permissions were denied by the user. |
XP_ERROR_NOT_PERMITTED_LAND | integer | 17 | Experience is blocked or not enabled for this land, or is not allowed to run in the current region. |
XP_ERROR_QUOTA_EXCEEDED | integer | 11 | An attempt to write data to the key-value store failed due to the data quota being met. |
XP_ERROR_REQUEST_PERM_TIMEOUT | integer | 18 | Request for experience permissions was ignored and the request timed out without modification. |
XP_ERROR_RETRY_UPDATE | integer | 15 | A checked update failed due to an out of date request. |
XP_ERROR_STORAGE_EXCEPTION | integer | 13 | Unable to communicate with the key-value store, or attempted to create a key that already exists. |
XP_ERROR_STORE_DISABLED | integer | 12 | Key-value store is currently disabled on this region. |
XP_ERROR_THROTTLED | integer | 1 | Call failed due to too many recent calls. |
XP_ERROR_UNKNOWN_ERROR | integer | 10 | An unknown error occurred that is not covered by any of the other predetermined error states. |
Used by
llGetExperienceErrorMessagefunctionReturns a text description of the specified experience error code, or a description of XP_ERROR_UNKNOWN_ERROR if the error is invalid.