llGetExperienceErrorMessage

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: string llGetExperienceErrorMessage( integer error );

Returns a text description of a particular Experience LSL error constant.
Returns a string describing the error code passed or the string corresponding to error. Returns XP_ERROR_UNKNOWN_ERROR if the error 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 );