LSL feature request. The described function does not exist. This article is a feature request.

Causes the script to raise a run-time error.
Functionality duplicated by using llSay or llShout on the DEBUG_CHANNEL.

Syntax

void llRaiseError( string errText );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string errText

Examples

<lsl> if (errState > 0) {


 llRaiseError("Internal Error: Something went wrong.");

} </lsl>

Notes

This would allow script writers to log errors to an interface designed for handling errors. This would be superior to sending across the more general purpose llOwnerSay because errors are not lost over time and don't incur a time delay unlike llInstantMessage.