Difference between revisions of "LlGetExperienceErrorMessage"

From Second Life Wiki
Jump to navigation Jump to search
(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…")
 
m
Line 4: Line 4:
|func_desc=Returns a text description of a particular LSL error constant.
|func_desc=Returns a text description of a particular LSL error constant.
|return_type=string
|return_type=string
|return_text=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.
|return_text=describing the error code passed or the string corresponding to {{LSLP|error}}. Returns [[XP_ERROR_UNKNOWN_ERROR]] if the value is not a valid error code.
|p1_type=integer|p1_name=error|p1_desc=The error code constant to translate.
|p1_type=integer|p1_name=error|p1_desc=The error code constant to translate.
|also_functions=
|also_functions=

Revision as of 14:55, 8 July 2014

Summary

Function: string llGetExperienceErrorMessage( integer error );

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