Skip to content
lsl.devlsl.devLSL Dev

Constants in the ExperienceError enum.

All constant groups

At a glance, from the LSL definitions
// 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

ConstantTypeValueDescription
XP_ERROR_EXPERIENCE_DISABLEDinteger8Experience owner has temporarily disabled the experience.
XP_ERROR_EXPERIENCE_SUSPENDEDinteger9Experience has been suspended by Linden Lab customer support.
XP_ERROR_EXPERIENCES_DISABLEDinteger2Region currently has experiences disabled.
XP_ERROR_INVALID_EXPERIENCEinteger7Script is associated with an experience that no longer exists.
XP_ERROR_INVALID_PARAMETERSinteger3One of the string arguments was too big to fit in the key-value store.
XP_ERROR_KEY_NOT_FOUNDinteger14Requested key does not exist.
XP_ERROR_MATURITY_EXCEEDEDinteger16Content rating of the experience exceeds that of the region.
XP_ERROR_NO_EXPERIENCEinteger5This script is not associated with an experience.
XP_ERROR_NONEinteger0No error was detected.
XP_ERROR_NOT_FOUNDinteger6Sim was unable to verify the validity of the experience. Retrying after a short wait is advised.
XP_ERROR_NOT_PERMITTEDinteger4This experience is not allowed to run by the requested agent, or experience permissions were denied by the user.
XP_ERROR_NOT_PERMITTED_LANDinteger17Experience is blocked or not enabled for this land, or is not allowed to run in the current region.
XP_ERROR_QUOTA_EXCEEDEDinteger11An attempt to write data to the key-value store failed due to the data quota being met.
XP_ERROR_REQUEST_PERM_TIMEOUTinteger18Request for experience permissions was ignored and the request timed out without modification.
XP_ERROR_RETRY_UPDATEinteger15A checked update failed due to an out of date request.
XP_ERROR_STORAGE_EXCEPTIONinteger13Unable to communicate with the key-value store, or attempted to create a key that already exists.
XP_ERROR_STORE_DISABLEDinteger12Key-value store is currently disabled on this region.
XP_ERROR_THROTTLEDinteger1Call failed due to too many recent calls.
XP_ERROR_UNKNOWN_ERRORinteger10An unknown error occurred that is not covered by any of the other predetermined error states.

Used by