Event.System.Error

Signals that an addon error has occurred. To prevent infinite loops, errors in handlers for this event may not result in further events being triggered.

Usage:

Event.System.Error(error)
ParameterTypeDatatypeDescription
errorparametervariantTable containing error data.
members
addon The identifier of the responsible addon. Used in error types event, frameEvent, dispatch, fileNotFound, fileLoad, fileRun, perfWarning, perfError, text, and requirement.
axis The axis influenced by the error. Used in error types layoutLoop and layoutError.
deprecation Indicates that the error was caused by attempted use of deprecated functionality. May appear in error types event, frameEvent, script, dispatch, queue, callback, or fileRun.
error The actual error message generated. Used in error types event, frameEvent, script, dispatch, fileLoad, fileRun, and text.
event The name of the event responsible. Used in error types event, frameEvent, and internal.
file The name of the file responsible. Used in error types fileNotFound, fileLoad, and fileRun.
frame The name of the frame that the event was generated on. Used in error type frameEvent.
id The internal ID of this error.
info The info string provided as part of the event handler. Used in error types event, dispatch, perfWarning, perfError, and requirement.
script The exact script entered by the user. Used in error type script.
stacktrace The stacktrace at the point of the error. Used in error types event, frameEvent, script, dispatch, fileRun, layoutLoop, layoutError, perfWarning, perfError, text, and requirement.
type Error type. "event" indicates an error within a global event handler. "frameEvent" indicates an error within a frame event handler. "script" indicates an error within a user-entered /script. "dispatch" indicates an error within a Utility.Dispatch handler. "internal" indicates an error within Rift's code (hopefully you'll never see this). "fileNotFound" indicates a missing file when attempting to load an addon. "fileLoad" indicates a parse failure when attempting to load an addon. "fileRun" indicates an execution error when attempting to load an addon. "layoutLoop" indicates a dependency loop found when evaluating the layout. "layoutError" indicates an invalid position found when evaluating the layout. "perfWarning" indicates a watchdog performance warning. "perfError" indicates a watchdog performance error, and that the Lua thread may have been interrupted. "text" indicates an error in Lua code embedded in HTML text. "requirement" indicates an error caused by not fulfilling function requirements.