Difference between revisions of "LlGetExperienceErrorMessage"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
{{LSL_Function
{{LSL_Function
|func=llGetExperienceErrorMessage
|func=llGetExperienceErrorMessage
|func_desc=Returns a text description of a particular LSL error constant.
|func_desc=Returns a text description of a particular Experience LSL error constant.
|return_type=string
|return_type=string
|return_text=describing the error code passed or the string corresponding to {{LSLP|error}}. Returns [[XP_ERROR_UNKNOWN_ERROR]] if the {{LSLP|error}} is not a valid error code.
|return_text=describing the error code passed or the string corresponding to {{LSLP|error}}. Returns [[XP_ERROR_UNKNOWN_ERROR]] if the {{LSLP|error}} is not a valid error code.

Revision as of 14:57, 8 July 2014

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 );