LlGetExperienceErrorMessage

From Second Life Wiki
Revision as of 13:23, 8 July 2014 by Jeremy Linden (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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 );