llGetExperienceErrorMessage

From Second Life Wiki
Revision as of 13:23, 8 July 2014 by Jeremy Linden (talk | contribs) (Created page with "Category:Experience Tools {{LSL_Function |func=llGetExperienceErrorMessage |func_desc=Returns a text description of a particular LSL error constant. |return_type=string |retu…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: string llGetExperienceErrorMessage( integer error );

Returns a text description of a particular LSL error constant.
Returns a string A string describing the error code passed or the string corresponding to XP_ERROR_UNKNOWN_ERROR if the value is not a valid error code.

• integer error The error code constant to translate.

Examples

<lsl>default {

   state_entry()
   {
       llOwnerSay(llGetExperienceErrorMessage(XP_ERROR_NONE));
   } 
}</lsl>

Deep Notes

Search JIRA for related Issues

Signature

function string llGetExperienceErrorMessage( integer error );